create_account_item
Creates one of: a case file, a subfolder, saved references (articles, statutes, decisions, CADA opinions, CNIL deliberations, doctrine), an AI note, a bookmark, a skill proposal (inactive until the user activates it). Never changes existing content. Fields marked "kind: …" apply to that kind only. 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>"
},
"name": "create_account_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | case_file (requires title; permission creer_dossiers), subfolder (case_file_id, name; ranger), reference (case_file_id, references; references), note (case_file_id, text, assistant; notes_ia; without case_file_id: a pinned note on a text, given by references or item_id), skill_proposal (name, text, scope; skills), bookmark (references: exactly one, any reference_type, checked against the database like a reference; no as_of; permission references). A note without case_file_id is ALWAYS pinned (pinned: true): it follows its text everywhere. | |
| name | No | subfolder, skill_proposal: name. | |
| text | No | note: text; skill_proposal: the working method, written as instructions. | |
| scope | No | skill_proposal: general (the account holder chooses the case files) or case_file (once activated, on in that case file only; the account holder may turn it on elsewhere). | |
| title | No | case_file: title. | |
| family | No | case_file: jud, adm, ce, eu or "". | |
| pinned | No | note: true = follows its text into all case files (needs item_id). Without case_file_id the note is always pinned ("pinned": true in the answer); false is refused. | |
| item_id | No | note: saved reference "e_…" of this case file; omit for a general note. Without case_file_id: bookmark "b_…" or saved reference "e_…". | |
| summary | No | skill_proposal, skill_type=skill: one sentence saying when to load it (max 300). | |
| replaces | No | skill_proposal: skill "s_…"/"p_…" or skill "w_…" to replace once activated. | |
| subtitle | No | case_file: subtitle. | |
| assistant | No | note: assistant name, e.g. "Claude", "ChatGPT". | |
| references | No | reference: 1-20, checked against the database; all or nothing. | |
| skill_type | No | skill_proposal: instruction (short, may apply to case files; default) or skill (long Markdown method, account-wide, needs summary; no scope or case_file_id). | |
| case_file_id | No | Case file "d_…"; not for case_file; optional for general skill_proposal. | |
| subfolder_id | No | reference: Subfolder "c_…"; "" = default "À ranger" area. Default for all references. | |
| 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_title | No | Exact name of the subfolder ("À ranger" for ""), shown to the user; must match, else nothing is done. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||