List agent custom tools
list an agent's custom tools.
GET
https://api.centerfy.ai/webhooks/inbound/agents/:id/custom-tools Headers
| Header | Required | Value | Description |
|---|---|---|---|
x-api-key | Yes | your sub-account API key (cfy_…) | authenticates the request; or Authorization: Bearer <key>. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | Yes | the agent id. |
Example
curl -X GET "https://api.centerfy.ai/webhooks/inbound/agents/{id}/custom-tools" \
-H "x-api-key: $CENTERFY_API_KEY" import { CenterfyClient } from "@centerfy/sdk";
const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });
const result = await centerfy.agents.listCustomTools("<agentId>");
console.log(result); centerfy agents list-custom-tools <agentId> MCP tool: centerfy_agents_list_custom_tools (see MCP server)
Response
{
"status": "success",
"agent_id": "<agent_id>",
"custom_tool_count": 1,
"custom_tools": [
{
"assignment_id": "d3b2a1c0-1111-2222-3333-444455556666",
"enabled": true,
"order_index": 0,
"configuration": {},
"tool": {
"id": "a1b2c3d4-5555-6666-7777-888899990000",
"name": "lookup_order",
"description": "Look up an order by id",
"url": "https://api.example.com/orders",
"method": "GET",
"auth_required": true,
"has_api_key": true,
"parameters": [
{
"name": "order_id",
"type": "string",
"description": "The order id",
"required": true
}
],
"created_at": "2026-06-01T12:00:00.000Z",
"updated_at": "2026-06-10T09:30:00.000Z"
}
}
]
}Errors
400— if id is not a valid uuid.404— if the agent does not exist.500— on error.
Notes
Returns only CUSTOM-tool assignments; built-in and system tools are excluded. The stored api_key secret is never returned — has_api_key indicates whether one is set. enabled defaults to true.