Run Tool
Test-run a prepared draft with sample input and confirmed side effects. Context-bound tool types return 400, curated tools return 403 (duplicate one first), and non-api_request tools must be built before running or return 409. An api_request run uses optimistic concurrency and returns 409 with code TOOL_CHANGED if the config hash changed mid-run. Updates last_run_status and the proven hash.
Authorizations
Your SLNG consumer API key.
Path Parameters
The tool UUID. Curated tools are visible but read-only, and a tool owned by another organisation returns 404.
Body
The sample input and side-effect confirmation for the test run.
Response
The result of the test run: status, latency, any returned output, output-schema validation, logs, and the publish gate status.
Outcome of a test run, including status, latency, output, and gate status.
succeeded, failed, timed_out Whether the run output matched the declared output schema: valid (matched), mismatch (did not match), or na (no schema to check against).
valid, mismatch, na Gate set is selected by tool_type (V2): data → static + green_run; code also reports config_valid; ctx-bound → config_valid ONLY.