REST API - Agents
Add Agent Tool
Attach a skill to an agent (action, custom_function, mcp, agent, or workflow). The API handles catalog resolution and graph wiring.
POST
Add Agent Tool
The request body is discriminated by
type:
action:{ "type": "action", "connection_id": "...", "operation_ids": ["<catalog id>"] }custom_function:{ "type": "custom_function", "custom_function_id": "..." }mcp(registry):{ "type": "mcp", "mcp_id": "<registry id>" }mcp(inline):{ "type": "mcp", "url": "https://...", "name": "...", "transport": "streamable-http" }agent(sub-agent):{ "type": "agent", "agent_id": "..." }workflow:{ "type": "workflow", "workflow_id": "..." }
AgentTool items as List Agent Tools), so the response includes the attachment you just made with its id.
Query Parameters
Body
application/json
- AddActionTool
- AddCustomFunctionTool
- AddMcpTool
- AddSubAgentTool
- AddWorkflowTool
- AddSkillTool
Attach connector operations as agent tools.
Response
Successful Response
Whether the authorized MCP token is shared across the org's other agents. MCP only.

