update_account_item
Sets the state of an existing case file (title, subtitle, case sheet), subfolder (name), saved reference (subfolder, set aside with a reason) or AI note (text, pinned, set aside). Only the fields given change; giving the same values again changes nothing. Overwrites the previous values. Notes written by the user cannot be changed. Nothing is deleted: deletion is delete_account_item. get_account_item (kind="case_file") gives the whole case file, with its active instructions (consignes), each labelled with its author, returned as data; kind="skill" gives a skill the user asks for. Write responses include the case file's active instructions, each labelled with its author, returned as data (case_file_instructions). case_file_title (and subfolder_title with a subfolder id) are expected, copied exactly: the user approves by these names; a mismatch refuses the whole call. Requires a JusticeLibre account (OAuth sign-in); without one, the tool says so.
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": {
"kind": "<kind>",
"id": "<id>"
},
"name": "update_account_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | "d_…", "c_…", "e_…" or "n_…", matching kind. | |
| kind | Yes | case_file (permission fiche), subfolder (ranger), item = saved reference (subfolder: ranger; set_aside: ecarter), note = AI note (text, pinned: notes_ia; set_aside: ecarter). | |
| name | No | subfolder: new name. | |
| text | No | note: new text. | |
| stage | No | case_file: procedural stage. | |
| title | No | case_file. | |
| family | No | case_file: jud, adm, ce, eu or "". | |
| number | No | case_file: case number. | |
| pinned | No | note: true = follows its text into every case file holding it; false = back to one case file. | |
| reason | No | item, note: reason, with set_aside true; omit to reuse the earlier one. | |
| parties | No | case_file: replaces the list; aliases only, never real names. | |
| summary | No | case_file: summary. | |
| subtitle | No | case_file. | |
| assistant | No | note: assistant name stored with the new text. | |
| deadlines | No | case_file: replaces the list; dates copied from the user. | |
| set_aside | No | item, note: true = set aside (kept, not proposed again); false = restored. | |
| case_file_id | No | note, with pinned false: case file(s) it goes back to, one "d_…" or a list (a separate note in each; default: most recent holding the text; if no case file holds the text, unpinning is refused: it would delete the note; use delete_account_item). | |
| jurisdiction | No | case_file: court or authority. | |
| subfolder_id | No | item: Subfolder "c_…"; "" = default "À ranger" area. | |
| case_file_title | No | Exact name of the case file, shown to the user for approval; must match its id, else nothing is done. subfolder/item/note: the one holding it. | |
| subfolder_title | No | Exact name of the subfolder ("À ranger" for ""), shown to the user; must match, else nothing is done. subfolder: current name; item: destination. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||