live_snapshot_write
Flush a rolling checkpoint during live teaching, capturing learner progress and direction so subsequent sessions resume without replaying all moves.
Instructions
在 Live Teaching session 中段 flush 一个 rolling checkpoint. 建议每 3 轮写一次. compact 后用 live_snapshot_get_latest 拿回来, 不用重读全部 moves.
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": {
"session_id": "<session_id>",
"after_turn_n": "<after_turn_n>",
"rolling_summary": "<rolling_summary>",
"current_direction": "<current_direction>"
},
"name": "live_snapshot_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| after_turn_n | Yes | 当前已完成的 move seq | |
| weak_signals | No | 观察到的薄弱点 / 待跟进的概念缺口 | |
| idempotency_key | No | 可选。幂等键 (建议 uuid) —— 同一 key 重放此调用返回首次结果, 不重复写入. 网络重试/断线重连时带上同一个 key, 而不是猜"上次到底写没写". | |
| rolling_summary | Yes | 到目前为止 learner 学到了什么 | |
| current_direction | Yes | 现在 agent 在朝什么方向推 |