Developers / Agents

List an agent's tools

GET https://api.echonova.ai/v1/agents/{agentId}/tools

Lists the built-in tools with whether each is on, and the workspace tools attached to the agent. Tool URLs and credentials are never returned. Needs the agents:read scope on the key.

Headers

Authorization string Required

Bearer, a space, then your API key, which starts with ek_. Create keys in the portal under Developers, API Keys.

Path parameters

agentId string Required

The agent id, as GET /v1/agents returned it.

Response

200 application/json Every response uses this envelope.

data object

The result.

success boolean

true for a successful call.

statusCode integer

Repeats the HTTP status.

errorMessage string or null

null on success.

Errors

Same envelope, with success false and data null. All errors

GET /v1/agents/{agentId}/tools

curl "https://api.echonova.ai/v1/agents/{agentId}/tools" \
  -H "Authorization: Bearer YOUR_API_KEY"

{
  "data": {
    "system": [
      {
        "key": "web_search",
        "name": "Web search",
        "enabled": true
      }
    ],
    "attached": [
      {
        "id": "6654a1b2c3d4e5f6a7b8c9d0",
        "name": "CRM lookup",
        "type": "webhook",
        "description": "Looks up a customer by phone number."
      }
    ]
  },
  "success": true,
  "statusCode": 200,
  "errorMessage": null
}