POST
Get the next tool call

Authorizations

X-Session-Secret
string
header
required

The per-session secret returned by a work claim. Works for one session only. Ends when the lease ends.

Path Parameters

work_id
string
required
Example:

"work_0123456789abcdef01234567"

Body

application/json
block_ms
integer
default:0
Required range: 0 <= x <= 30000

Response

A tool call to run.

tool_call_id
string
required

Stable. Use it to avoid running a call twice.

name
string
required
input
object
required