Run Mcp Tool
Execute a specific MCP tool
The request body should contain the tool arguments in the MCPToolExecuteRequest format.
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path parameters
mcp_server_id
tool_id
Request
This endpoint expects an object.
args
Arguments to pass to the MCP tool
Response
Successful Response
status
The status of the tool execution and return object
Allowed values:
agent_state
The agent state
stdout
Captured stdout (prints, logs) from function invocation
stderr
Captured stderr from the function invocation
sandbox_config_fingerprint
The fingerprint of the config for the sandbox