Execute Tool

Execute a specific tool. This endpoint delegates to the Tool domain API which handles: - Tool authorization - Tool discovery from all sources - Context injection - Tool execution Args: request: The FastAPI request tool_name: The name of the tool to execute (from path parameter) body: The tool execution request body Returns: ExecuteToolResponse with execution result or error

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

tool_namestringRequired

Request

This endpoint expects an object.
input_datamap from strings to anyOptional
Input data for the tool execution

Response

Successful Response
successboolean
Whether the execution was successful
resultany or null
Result of the tool execution
errorstring or null
Error message if execution failed

Errors