Create a folder
create_folderAdd a folder to a case, optionally inside another folder. Logged. Scope: cases:write. REST twin: POST /api/cases/:id/folders. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, read_only, validation_error.
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": {
"case_id": "<case_id>",
"name": "<name>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 1 to 200 characters. | |
| case_id | Yes | The case id (cas_...). | |
| parent_id | No | The fld_ id of the parent folder. |