get_pending_checkpoint
Long-poll for the oldest pending harness checkpoint visible to the caller.
Returns {checkpoint: {...} | null, pending_count: int}. The checkpoint's
prompt + context (which includes proposed scenario_steps + finding +
screenshot_url for mining checkpoints, or step_index + step_description for
replay checkpoints) is what the harness should evaluate. Then call
submit_scenario_checkpoint(checkpoint_id, verdict, …) to resume the
paused walker / runner.
Common harness loop: while walking: r = get_pending_checkpoint(walk_id=walk_id, wait_seconds=25) cp = r.get("checkpoint") if not cp: continue # Read screenshot URL, inspect proposed scenario, etc. verdict = "pass" if scenario_looks_solid else "fail" submit_scenario_checkpoint(cp["checkpoint_id"], verdict=verdict, notes=…)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pending_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | Filter pending checkpoints to this scenario run_id. | |
| api_key | No | MCP API key | |
| walk_id | No | Filter pending checkpoints to this walk_id. Mutually exclusive with run_id; one of them should be set. | |
| wait_seconds | No | Long-poll budget (0-25 s). When 0, returns immediately with whatever's pending. Default 25. | |
| session_token | No | Session token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||