Delete study notes
interactive_study_ledger_deleteDelete the user's notes, only when the user asks. Pass preview=true first: every open reader shows the proposal with Apply and Discard. Ask the user to confirm in the chat, and apply it by passing its proposal_id once they agree. After a deletion every open reader offers Undo for 15 minutes; pass the returned undo id back as undo to put the notes back. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "interactive_study_ledger_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | The notes' ids | |
| undo | No | Put back the notes this deletion removed | |
| preview | No | Check and propose, without deleting | |
| revision | No | The ledger revision from your last interactive_study_ledger_read. | |
| proposal_id | No | Apply this preview |
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 |