Get a tool router session by ID (v3.1)
Retrieves an existing tool router session by its ID. Returns the session configuration, MCP server URL, and available tools.
Path parameters
The session ID returned when creating the session
The unique identifier of the tool router session
Response
Session successfully retrieved. Returns the session details including configuration.
Example response
{
"session_id": "trs_1a2b3c4d5e6f",
"mcp": {
"url": "https://app.composio.dev/tool_router/v3/trs_1a2b3c4d5e6f/mcp"
},
"warnings": [
{
"code": "PRELOAD_TOOLS_HIGH_CONTEXT_USAGE",
"message": "Session preloads 25 tools; each preloaded tool adds to the agent context window. Consider keeping the list at or under ~20 tools."
}
]
}Changes
Changed in 4 of the 61 revisions of this API.25
- ○
the endpoint scheme security
CookieAuthwas removed from the APIapi-security-removed
- ○
the endpoint scheme security
UserApiKeyAuthwas removed from the APIapi-security-removed
- ○
- ▲
the
config/connected_accounts/additionalProperties/response's property type/format changed fromstring/connectedAccountIdtoarray/for status200response-property-type-changed
- ▲
- ▲
response property
config/preload/toolslist-of-types was widened by adding typesstringto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added the required property
config/executeto the response with the200statusresponse-required-property-added
- ○
added the required property
config/searchto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
- ○