Invite a person
inviteInvite a person to a case as investigator (case owners only), counsel or viewer. The answer holds the invite link, shown once; send it to the person. The invite lasts 14 days unless you set days (1 to 365). Set redacted_only to limit a viewer or counsel to redacted page images. Logged with the agent and the person it acts for. With the family critical classes on, an agent token is refused: a person invites in the browser. Scope: cases:write. REST twin: POST /api/cases/:id/invites. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, read_only, validation_error, payment_required.
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>",
"email": "<email>",
"role": "<role>"
},
"name": "invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How long the link works. Default 14. | |
| role | Yes | ||
| Yes | The person's email address. | ||
| case_id | Yes | The case id (cas_...). | |
| redacted_only | No | Viewer or counsel only: they see redacted page images and never the originals. Needs a plan with redaction. |