Skip to main content
PUT
Update Custom Tool
Required permission: Manage Actions (manage:actions), or Admin (admin). A Group Manager can also call this. Their scope comes from the agents shared with the groups they manage.

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Path Parameters

tool_id
integer
required

Body

application/json
name
string | null
description
string | null
definition
Definition · object | null
custom_headers
Header · object[] | null
passthrough_auth
boolean | null
oauth_config_id
integer | null

Response

Successful Response

id
integer
required
name
string
required
description
string
required
definition
Definition · object | null
required
display_name
string
required
in_code_tool_id
string | null
required
custom_headers
any[] | null
required
passthrough_auth
boolean
required
mcp_server_id
integer | null
user_id
string | null
oauth_config_id
integer | null
oauth_config_name
string | null
enabled
boolean
default:true
chat_selectable
boolean
default:true
agent_creation_selectable
boolean
default:true
default_enabled
boolean
default:false