Chat
Set a chat tool setting
Enable or disable a tool for a chat, creating the setting if needed.
put/chats/{chat_id}/tools/{tool_id}
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chat_idinteger required
tool_idinteger required
ID of the tool to configure.
Query parameters
cookie_namestring nullable
Request body
Example request
{
"enabled": true
}Response
Successful Response
Example response
{
"chat_id": 42,
"tool_id": 7,
"enabled": true,
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-16T08:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.