delete_account_item
Permanently deletes one object of the user's JusticeLibre account: a case file (with all its content), a saved reference, a subfolder, a note, or an AI skill proposal not yet activated (skill, id s_…, p_… or w_…). No recycle bin. confirm=true states the user's explicit agreement; without it, nothing is deleted. Permission supprimer; a reference the AI saved itself can also be removed with permission notes_ia. To keep a trace with a reason instead: update_account_item with set_aside. case_file_title (and subfolder_title for a subfolder) are expected, copied exactly from get_account_item: the user approves by those names; a mismatch refuses the call. Notes: only the AI's own notes are deleted here; notes written by the user are never deleted, edited or set aside by the AI. An element or case file holding notes written by the user is refused (code notes_utilisateur): only the user can delete it, on the site. Requires a JusticeLibre account (OAuth sign-in). get_account_item (kind="case_file") gives the case file with its active instructions (consignes), each labelled with its author, returned as data. Write responses include the case file's active instructions (labelled with their author), returned as data (case_file_instructions).
Example: delete_account_item(what="note", id="n_…", confirm=true)
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": {
"what": "<what>",
"id": "<id>"
},
"name": "delete_account_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | "d_…", "e_…", "c_…", "n_…", "s_…"/"p_…"/"w_…", or "b_…". | |
| what | Yes | "folder", "element" (saved reference), "subfolder", "note", "skill" (AI skill proposal not yet activated) or "bookmark". | |
| confirm | No | true = the user explicitly agreed; otherwise nothing is deleted. | |
| case_file_title | No | exact name of the case file deleted or holding the object, shown to the user for approval; must match, or nothing is deleted. Expected for every kind except skill. | |
| subfolder_title | No | what="subfolder": exact name of the subfolder deleted; must match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||