Move a note to Trash
trash_noteMove a Note to Trash; its content and history are kept and restore_note brings it back (trash_thread retires a whole Thread). Refused while the Note has an open request (request_open). Can edit and organize trashes any Note; Can add notes only the Notes it added, else edit_not_allowed. expected_revision is not compared. Answers a receipt whose url opens Trash.
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": {
"operation_id": "<operation_id>",
"note_id": "<note_id>",
"expected_revision": "<expected_revision>"
},
"name": "trash_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | A Note's id, from get_thread, search or get_note. | |
| operation_id | Yes | A new UUID for each write. After a lost answer, send the identical call with the same one, or check get_operation before writing again. | |
| expected_revision | Yes | Its revision from list_threads, get_thread, list_folders or get_note (not a content_revision); not compared. |