Add capability to agent

Add a capability (flow, sub-agent, or tool binding) to an agent.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Request

This endpoint expects an object.
toolNamestringRequired1-100 characters
enabledbooleanOptional
flowIdstringOptional
parametersSchemaanyOptional
subAgentIdstringOptional
toolDescriptionstringOptional
toolIdstringOptional

Response

Capability added
displayOrderinteger or null
enabledboolean
flowIdstring or null
idstring
subAgentIdstring or null
toolDescriptionstring or null
toolIdstring or null
toolNamestring
agentIdstring
createdAtstring
parametersSchemaany

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error