Upload Case File
upload_case_fileAttach a document to a case (invoice copy, contract, correspondence, proof of delivery). Max 25 MB. Allowed extensions: .pdf, .xls, .xlsx, .csv, .txt, .jpg, .jpeg, .png, .gif. Provide the file content base64-encoded.
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": {
"caseId": "<caseId>",
"fileName": "<fileName>",
"contentBase64": "<contentBase64>"
},
"name": "upload_case_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | Debitura case ID (GUID) | |
| fileName | Yes | File name including extension, e.g. "invoice-1042.pdf" | |
| contentType | No | MIME type, e.g. "application/pdf" (inferred from extension if omitted) | |
| description | No | Short description of the document | |
| documentType | No | Optional document category. Omit when unknown: the file is stored as Not specified (null). Choose OriginalInvoice (invoice / credit note), AccountStatement, Contract, TermsAndConditions, ProofOfDelivery, DemandLetter, Correspondence, PaymentProof, CourtDocument, IdentityDocument, or Miscellaneous (Other). Legacy names remain accepted: DebtorDocuments, CreditorDocuments, PartnerDocuments. | |
| contentBase64 | Yes | File content, base64-encoded |