Home / Servers / ElevenLabs API / get_agent_knowledge_base_size

Returns The Size Of The Agent'S Knowledge Base

An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.

Returns The Size Of The Agent'S Knowledge Base Returns the number of pages in the agent's knowledge base. [GET /v1/convai/agent/{agent_id}/knowledge-base/size]

Name on the gateway: elevenlabs_api__get_agent_knowledge_base_size · read-only.

Parameters

NameTypeDescription
agent_id requiredstringagent_id parameter

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "elevenlabs_api__get_agent_knowledge_base_size",
  "arguments": {
    "agent_id": "…"
  }
}

Or connect the ElevenLabs API server directly, which lists 487 tools including this one:

Run in your terminal
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the returns the size of the agent's knowledge base tool with agent_id set to ….

More from ElevenLabs API