Invoke a tool synchronously (or enqueue a job for job-backed tools)
Authorizations
Headers
Both API versions retain keys for 24 hours after acceptance and while the work remains active. Repeating the same request returns the original job_id or ask run_id, without new work or a second charge. Keys are scoped to your account and tool family; keep the same chat, project, session, and input. A changed request conflicts with a retained key. Once the window ends and the work finishes, reuse can start billed work. Use a new key for new work. Injected as the idempotency_key tool argument; ignored on other tools. 1-128 chars of A-Z a-z 0-9 _ . : -; invalid values are 400 invalid_idempotency_key.
^[A-Za-z0-9_.:-]{1,128}$Body
Response
Synchronous tool result.
Synchronous tool result envelope.

