Download uploaded document
download_uploaded_documentSaves the original file for an uploaded document, identified by document_id, to the machine running uol-mcp and returns its file path.
Instructions
Saves the original file of an uploaded document on the machine running uol-mcp and returns its path.
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": {
"document_id": "<document_id>"
},
"name": "download_uploaded_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| file_path | Yes | Absolute path of the saved file on the machine running uol-mcp; null when the file is embedded in the result (HTTP transport) | |
| size_bytes | Yes | ||
| document_id | Yes | ||
| content_type | Yes |