Cheap liveness snapshot
agent_stateCheck agent liveness and progress with a lightweight snapshot, using the settled flag to confirm a turn has completed before sending guidance.
Instructions
廉价的存活/进度快照(比 agent_read 轻):running/settled/nSteps/checkpointSeq/错误/contentTail 短尾/driftHint。用在等待循环里,或发 guidance 前确认上一轮真的停了。注意:健康的 turn 也会几十秒 nSteps 不动(一个长工具/LLM 回合),别据此判'卡死'——唯一可靠的'活着'信号是有没有 settled。
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": {
"tid": "<tid>"
},
"name": "agent_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tid | Yes |