save_reading_annotation
Save or update a highlight, underline, note, or citation on a reading material. Use only when the learner explicitly requests this write action.
Instructions
WARNING: Changes stored DeepTutor learning data. Check the target ID and values; call only when the learner explicitly requests this action. Create or update a highlight, underline, note or citation on a material
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": {
"material_id": "<material_id>",
"locator": "<locator>",
"kind": "<kind>",
"confirm": "<confirm>"
},
"name": "save_reading_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Annotation kind | |
| note | No | Learner's note | |
| color | No | Highlight color | |
| quote | No | Quoted source text | |
| confirm | Yes | Set true when this write is authorized by the current user request | |
| locator | Yes | One-based unit locator | |
| material_id | Yes | Reading material ID | |
| annotation_id | No | Existing annotation ID to update | |
| source_anchor | No | Source anchor |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | 原始 DeepTutor 工具返回值;其具体字段由对应 DeepTutor API 决定。 |