Skip to main content
GET
/
v1
/
agents
/
sessions
/
tools
List Tools
curl --request GET \
  --url https://api.mixpeek.com/v1/agents/sessions/tools
{
  "results": [
    {
      "name": "<string>",
      "description": "<string>",
      "category": "<string>",
      "parameters": {},
      "required_params": [
        "<string>"
      ],
      "requires_confirmation": false
    }
  ],
  "total": 123,
  "categories": [
    "<string>"
  ]
}

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Query Parameters

category
string | null

Filter by tool category

Response

Successful Response

Response for listing available agent tools.

Use this endpoint to discover available tools before creating a session. Pass tool names to available_tools in AgentConfig when creating a session.

Attributes: results: List of available tools with descriptions total: Total number of tools available categories: Unique tool categories

Example: python response = ListToolsResponse( results=[ ToolInfo(name="smart_search", description="...", category="search"), ToolInfo(name="list_collections", description="...", category="read"), ], total=25, categories=["search", "read", "create"] )

results
ToolInfo · object[]
required

Available tools

total
integer
required

Total number of tools

categories
string[]
required

Unique tool categories