download_document
Retrieve any document from Alfresco by node ID, saving it locally as an attachment or to a custom folder.
Instructions
Download a document from Alfresco repository.
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": {
"node_id": "<node_id>"
},
"name": "download_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | The Alfresco node ID to download | |
| attachment | No | Download as attachment (default: True) | |
| save_to_disk | No | Save file to disk (default: True) | |
| destination_dir | No | Optional custom destination folder (default: ~/Downloads) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |