end_unit
Finish a study unit by recording actual duration, interruptions, and post-session recall quality; then write the session log and backup.
Instructions
结束一个单元,补时长 / 中断次数 / 事后复述质量,并写日志、备份。
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": {
"unit_id": "<unit_id>"
},
"name": "end_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | 备注 | |
| story | No | 用过的故事编号(stories.md),用于一个月内不重复 | |
| recall | No | 事后复述 0 讲不出 / 1 勉强 / 2 正常 / 3 很顺 | |
| unit_id | Yes | 单元 id | |
| actual_min | No | 实际时长(分钟),不传记为未知,不按墙钟估算 | |
| interrupts | No | 中断次数(Agent 判定,见「时长升级规则」) |