Invoke an MCP tool
Invokes a namespaced MCP tool on the appropriate server. This is a synchronous call that may take 8–15 seconds.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
workspace_id
Request
This endpoint expects an object.
namespaced_tool
Fully qualified tool name: {namespace}__{tool_name}
arguments
Tool arguments matching the tool’s input_schema
timeout_ms
Optional caller-controlled timeout in milliseconds
Response
Tool invocation result
result
Tool result text (empty on error)
is_error
True if the MCP server returned an error for this tool call
error
Error message if the invocation failed
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error