Execute tool
Execute a tool by ID with the provided parameters. Non-flow tools return the documented JSON result. Flow tools return a text/event-stream response whose frames use the ExecutionStreamEvent vocabulary by default; use a raw/streaming client helper for flow tools.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
Request
This endpoint expects an object.
parameters
context
toolId
Response
Tool execution result (JSON for non-flow tools, SSE stream for flow tools)
executionId
executionTimeMs
status
error
result
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error