Tools
Run a tool
Changed onExecute a tool and return its output with what it cost. The run is quoted on the most units its input allows, held against the workspace wallet, the key's quota and any budget, then settled to the units delivered — never more than 1.25 × the quote. Synchronous. Limited to 60 runs per minute per key. See Run a tool and Errors.
post/tools/{id}/run
Request
- Base URLhttps://api.orcarouter.ai/v1
- URLhttps://api.orcarouter.ai/v1/tools/{id}/run
- AuthHTTP bearer
Path parameters
idstring required
A tool id from discover.
Headers
X-Orca-Run-Refstring
Count the run against an existing run budget with this reference. An unknown reference is refused with 400 bad_input.
X-OrcaRouter-Firewall-Approvalstring
On the retry of a run the Agent Firewall held, the firewall_approval_id a human approved. Comma-separate up to 8.
Request body
Response
The run completed.
Changes
- info
endpoint added
- info