Take procedure step
take_stepWrite: claim a WAITING_AGENT step (needs grant). Returns attempt_id; follow next_action. For an already RUNNING step use resume_step. Do not invent attempt ids. Optional expected_*_revision for optimistic concurrency (stale → conflict).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "take_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Procedure UUID or silvalabs:procedure/<uuid>/<name>#grant=… | |
| grant | No | Raw grant token; optional if already in procedure id (#grant= or ?grant=) | |
| confirm_takeover | No | Prefer resume_step with confirm_takeover for foreign RUNNING steps | |
| expected_context_revision | No | Optimistic concurrency; omit unless you have a known revision | |
| expected_instruction_revision | No | Optimistic concurrency; omit unless you have a known revision |