Execute a tool within a tool router session
Executes a specific tool within a tool router session. The toolkit is automatically inferred from the tool slug. The tool must belong to an allowed toolkit and must not be disabled in the session configuration. This endpoint validates permissions, resolves connected accounts, and executes the tool with the session context.
Authentication
x-api-keystring
API key authentication
Path parameters
session_id
Tool router session ID (required for public API, optional for internal - injected by middleware)
Headers
x-session-access-key
Request
This endpoint expects an object.
tool_slug
The unique slug identifier of the tool to execute
arguments
The arguments required by the tool
Response
Successfully executed the tool. Returns execution result, logs, and status.
data
The data returned by the tool execution
error
Error message if the execution failed, null otherwise
log_id
Unique identifier for the execution log