Execute tool

Execute a tool by ID with the provided parameters. Flow tools stream an SSE response; non-flow tools return a JSON result.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Request

This endpoint expects an object.
parametersmap from strings to anyRequired
contextobjectOptional
toolIdstringOptional

Response

Tool execution result (JSON for non-flow tools, SSE stream for flow tools)

executionIdstring
executionTimeMsdouble
statusenum
errorstring
resultany

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error