Add a study note
interactive_study_ledger_addAdd one note to the user's notes ledger, only when the user asks: a title in the user's words, the passage it is on, optional longer details, and optionally a group, existing or new. One note can be on several passages: pass the others in more_passages. Every open reader shows it at once. Failure contract: [conflict] when the notes changed since revision was read, or the change would duplicate a note: read them again; [invalid_request] for a note, group or passage that doesn't exist, naming what does; [service_unavailable] when the notes cannot be changed.
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": {
"passage": "<passage>",
"title": "<title>",
"revision": "<revision>"
},
"name": "interactive_study_ledger_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | An existing group's exact name or id, or a new group's name. Omit for Ungrouped. | |
| title | Yes | The note's title, in the user's words | |
| phrase | No | Exact Arabic words inside the passage, to note only those words. | |
| details | No | Longer writing under the title | |
| passage | Yes | An ayah such as '2:255', a range such as '2:255-257', or a whole surah such as '112' or 'al-ikhlas'. | |
| revision | Yes | The ledger revision from your last interactive_study_ledger_read. | |
| more_passages | No | More passages for the same note, each with its own optional phrase: other ayahs or word spans, apart from the first or in another surah. Use it when one note is about several places, such as two similar ayahs that get confused. Order does not matter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | No | For a deletion: pass it to delete as undo within 15 minutes | |
| status | Yes | ||
| note_id | No | ||
| revision | Yes | The ledger revision now, for a following change | |
| sentence | Yes | Repeat this to the user | |
| proposal_id | No | For a preview: pass it back to apply |