Create an export
create_exportExport a case (files, hashes, the access log and its proofs) and return a short summary. Scope: export. REST twin: POST /api/cases/:id/exports. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_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>"
},
"name": "create_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | court (the default), cftc-tip, stripe-dispute (a pack shaped to Stripe's dispute evidence fields, which Rooms never files), or loadfile (a Concordance DAT and Opticon OPT volume with Bates-stamped page images). | |
| format | No | Export format, when the export service offers more than one. | |
| case_id | Yes | The case id (cas_...). | |
| bates_prefix | No | With kind loadfile: the Bates prefix. Numbers continue from the case's last export. |