API ReferenceSessions (prev Tool Router)
Execute a meta tool within a tool router sessionv3.1
Execute a Composio meta tool (COMPOSIO_*) within an existing tool router session.
Authorization
ApiKeyAuth x-api-key<token>
Project API key authentication
In: header
Path Parameters
session_idstring
Tool router session ID (required for public API, optional for internal - injected by middleware)
Format:
toolRouterSessionIdRequest Body
application/json
slugenumRequired
The unique slug identifier of the meta tool to execute
Possible values:
COMPOSIO_SEARCH_TOOLSCOMPOSIO_MULTI_EXECUTE_TOOLCOMPOSIO_MANAGE_CONNECTIONSCOMPOSIO_WAIT_FOR_CONNECTIONSCOMPOSIO_REMOTE_WORKBENCHCOMPOSIO_REMOTE_BASH_TOOLCOMPOSIO_GET_TOOL_SCHEMASargumentsobject
The arguments required by the meta tool
experimentalobject
Inline custom tools and toolkits for this request. v3.1 sessions do not persist customs — pass them on every request that needs them.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v3.1/tool_router/session/{session_id}/execute_meta" \ -H "Content-Type: application/json" \ -d '{ "slug": "COMPOSIO_MANAGE_CONNECTIONS" }'{ "data": { "message": "Hello, World!", "status": "success" }, "error": "string", "log_id": "log_abc123xyz"}