Edit a study note
interactive_study_ledger_editChange one note's title, details or passage, only when the user asks. Keep the user's meaning: refine wording, never merge two notes. Every open reader shows the change 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": {
"id": "<id>",
"revision": "<revision>"
},
"name": "interactive_study_ledger_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The note's id | |
| title | No | A new title | |
| phrase | No | Exact Arabic words inside the new passage | |
| details | No | New details; an empty string clears them | |
| passage | No | A new passage, as for interactive_study_ledger_add. It replaces every passage the note was on, so give them all, the rest in more_passages | |
| 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 |