Execute tool
Execute a tool with a given input. The input is validated against the tool’s input schema.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
Set of key-value pairs to add to the tool's execution environment.
Set of key-value pairs to add to the tool's execution environment.
Configuration for HTTP requests and authentication.
The input to the tool. This must be a valid JSON-serializable object. It will be validated against the tool's input schema.
The Tool revision ID to execute. This optional parmeter is used to pin executions to specific versions of the Tool. If not provided, the latest (current) version of the Tool will be executed.
Response
The execution details of the function.
The returned value of the Tool's execute function.
The status of the output. "valid" means your Tool executed successfully and returned a valid JSON-serializable object, or void. "json_serialization_error" means your Tool executed successfully, but returned a nonserializable object. "error" means your Tool failed to execute.
error
, json_serialization_error
, valid