Skip to main content
PATCH
/
api
/
agents
/
{agent_uid}
/
tools
/
{tool_uid}
Update tool
curl --request PATCH \
  --url https://api.example.com/api/agents/{agent_uid}/tools/{tool_uid} \
  --header 'Content-Type: application/json' \
  --data '
{
  "tool_type": "<string>",
  "configuration": {},
  "is_active": true
}
'
Updates a tool on an agent. Only include fields you want to change.

Path parameters

agent_uid
string
required
UUID of the agent.
tool_uid
string
required
UUID of the tool.

Request body

tool_type
string
Updated tool type.
configuration
object
Updated tool-specific configuration.
is_active
boolean
Enable or disable the tool without removing it.

Example

{
  "is_active": false
}

Response

Returns 200 with the updated tool:
{
  "status": "success",
  "status_code": 200,
  "data": {
    "uid": "tool1-uuid-here",
    "agent_uid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "tool_type": "send_email",
    "configuration": null,
    "is_active": false,
    "created_on": "2026-03-20T10:00:00Z",
    "updated_on": "2026-03-20T11:00:00Z"
  }
}

Errors

StatusReason
404Agent or tool not found