Set or release a legal hold
set_legal_holdSet (on: true) or release (on: false) a legal hold on a case, with a reason. Only for an owner or admin of the case's organization, or an agent acting for one. Logged. While a hold is on, nothing in the case can be erased and it cannot be closed. Scope: cases:write. REST twin: POST /api/cases/:id/legal-hold. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, read_only, validation_error, conflict.
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>",
"on": "<on>",
"reason": "<reason>"
},
"name": "set_legal_hold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| reason | Yes | Why the hold is set or released. Goes into the access log. | |
| case_id | Yes | The case id (cas_...). |