upload_document
Upload medical documents to persistent storage for cancer patient management. Follows standardized naming conventions for organized file handling.
Instructions
Upload a medical document to persistent storage.
The filename should follow the standard convention: YYYYMMDD_PatientName_Institution_Category_DescriptionEN.ext (e.g. 20260227_PatientName_NOU_Labs_BloodResultsBeforeCycle2.pdf)
Legacy formats (space+dash, underscore-separated) are also accepted and auto-parsed. Separators: underscores only. Description: English, CamelCase.
Args: content: Base64-encoded file content. filename: Document filename in standard or legacy format. mime_type: MIME type of the document.
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": {
"content": "<content>",
"filename": "<filename>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| filename | Yes | ||
| mime_type | No | application/pdf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |