v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
Assistant

Add a tool to an assistant

Enable a tenant tool for the assistant.

post/assistants/{assistant_id}/tools/{tool_id}

Path parameters

assistant_idinteger required
tool_idinteger required

ID of the tool to enable.

ID of the tool to enable.

Query parameters

cookie_namestring nullable

Response

Successful Response

created_atstring date-time

UTC timestamp when the record was created.

updated_atstring date-time

UTC timestamp when the record was last updated.

assistant_idinteger required

ID of the assistant the tool is attached to.

tool_idinteger required

ID of the tool attached to the assistant.

Example response

{
  "created_at": "2026-01-15T10:30:00Z",
  "updated_at": "2026-01-16T08:00:00Z",
  "assistant_id": 1,
  "tool_id": 1
}