Composio Tool Router API

(Labs) Tool router endpoints

GitHub OpenAPI
Business capability
Agent Tool Exposure AE-100.10

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v3/labs/tool_router/session Create a tool router session (legacy) · Create a new tool router session (Legacy) #
Ask an LLM
“How do I create a tool router session for testing tool routing logic?”
“Can I initialize a legacy tool router session with specific toolkits?”
Tell an agent
Create a legacy tool router session for user {user_id}.
Initialize a tool router lab session for {user_id} with config {config}.
POST /api/v3/tool_router/session Create a Tool Router session · Create a new tool router session #
Ask an LLM
“How do I start a new session for testing agent tool routing?”
“Can I restrict a Tool Router session to only certain toolkits?”
Tell an agent
Create a Tool Router session for user {user_id} with toolkits {toolkits}.
Start a session for {user_id} using only auth configs {auth_configs}.
POST /api/v3/tool_router/session/{session_id}/execute Execute a tool in a tool router session · Execute a tool within a tool router session #
Ask an LLM
“How do I run a specific tool inside a tool router session?”
“Does the session auto-infer the toolkit for a tool slug I pass?”
Tell an agent
Execute tool {tool_slug} in session {session_id}.
Run {tool_slug} in session {session_id} with arguments {arguments}.
POST /api/v3/tool_router/session/{session_id}/execute_meta Execute a meta tool in a tool router session · Execute a meta tool within a tool router session #
Ask an LLM
“How do I run a COMPOSIO_* meta tool in a session?”
“Can I call a meta tool by its slug instead of the primary execute endpoint?”
Tell an agent
Execute meta tool {slug} in session {session_id}.
Run meta tool {slug} in session {session_id} with arguments {arguments}.
GET /api/v3/tool_router/session/{session_id} Get a tool router session · Get a tool router session by ID #
Ask an LLM
“What toolkit configuration does a tool router session have?”
“Where can I find the MCP server URL for a session?”
Tell an agent
Show tool router session {session_id}.
Get the configuration of session {session_id}.
PATCH /api/v3/tool_router/session/{session_id} Update a Tool Router session · Patch a tool router session config #
Ask an LLM
“How do I change the toolkits a live Tool Router session allows?”
“Can I set connected accounts on an existing Tool Router session?”
Tell an agent
Update Tool Router session {session_id} to use connected accounts {connected_accounts}.
Restrict session {session_id}'s tools to {tools}.
POST /api/v3/tool_router/session/{session_id}/proxy_execute Proxy an API call through a session · Execute proxy request within a tool router session #
Ask an LLM
“How do I call a third-party API with credentials from a connected account?”
“Can I send a raw HTTP request to a toolkit's endpoint through the session?”
Tell an agent
Proxy a {method} request to {toolkit_slug} endpoint {endpoint} in session {session_id}.
Call {toolkit_slug} at {endpoint} with body {body} in session {session_id}.
GET /api/v3/tool_router/session/{session_id}/toolkits List toolkits in a session · Get toolkits for a tool router session #
Ask an LLM
“Which toolkits are available in my tool router session?”
“Can I filter a session's toolkits by slug?”
Tell an agent
List the toolkits in session {session_id}.
Show connected toolkits in session {session_id} ({is_connected}).
GET /api/v3/tool_router/session/{session_id}/tools List tools in a session · List tools with schemas for a tool router session #
Ask an LLM
“What app and meta tools can I call in a tool router session?”
“Where do I get the full schemas for a session's tools?”
Tell an agent
List the tools available in session {session_id}.
Show the full schemas of session {session_id}'s tools.
POST /api/v3/tool_router/session/{session_id}/search Search tools in a session · Search for tools using a query #
Ask an LLM
“How do I find the right tool for a use case in a session?”
“Can I search session tools with a model hint?”
Tell an agent
Search session {session_id} for {queries}.
Find tools matching {queries} in session {session_id} using model {model}.
GET /api/v3/tool_router/session/{session_id}/mounts/{mount_id}/items List files in a session mount · List files in a session mount #
Ask an LLM
“What files are stored in a workbench session mount?”
“Can I list only files under a prefix in a session mount?”
Tell an agent
List files in mount {mount_id} of session {session_id}.
List files under {mount_relative_prefix} in mount {mount_id}, session {session_id}.
POST /api/v3/tool_router/session/{session_id}/mounts/{mount_id}/download_url Get a download URL for a mount file · Create a presigned download URL for a mount file #
Ask an LLM
“How do I download a file from a session mount?”
“Can I get a presigned URL for a mount file?”
Tell an agent
Get a download URL for {mount_relative_path} in mount {mount_id}, session {session_id}.
Create a presigned download link for {mount_relative_path} in session {session_id}, mount {mount_id}.
POST /api/v3/tool_router/session/{session_id}/mounts/{mount_id}/upload_url Get an upload URL for a mount file · Create a presigned upload URL for a mount file #
Ask an LLM
“How do I upload a file to a session mount?”
“Can I get a presigned upload URL for a file in a mount?”
Tell an agent
Get an upload URL for {mount_relative_path} in mount {mount_id}, session {session_id}.
Create a presigned upload link for {mount_relative_path} in session {session_id}, mount {mount_id}.
POST /api/v3/tool_router/session/{session_id}/mounts/{mount_id}/delete Delete a file from a session mount · Delete a file from a session mount #
Ask an LLM
“How do I delete a file from a session mount?”
“Is deleting a file that doesn't exist in a mount mount idempotent?”
Tell an agent destructive · confirm first
Delete {mount_relative_path} from mount {mount_id} in session {session_id}.
Remove the file {mount_relative_path} in session {session_id}, mount {mount_id}.
POST /toolRouter/session Create a tool router session (legacy) · Composio Create a tool router session #
Ask an LLM
“How do I create a tool router session with a connected account?”
“Can I create a session scoped to one connected account?”
Tell an agent
Create a tool router session for connected account {connectedAccountId}.
Create a session scoped to account {connectedAccountId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/composio:composio-tool-router-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

composio-tool-router-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Composio Tool Router API
  version: '1.0'
  description: 'Operations tagged Tool Router across 2 of this provider''s published API definitions: composio-openapi-original.json, composio-openapi-original.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://backend.composio.dev
  description: PRODUCTION API
- url: https://backend.composio.dev/api/v3
  description: Production Server
tags:


# --- truncated at 32 KB (216 KB total) ---
# Full source: https://artifacts.apis.io/composio/openapi/composio-tool-router-api-openapi.yml