Download a file
download_fileDownload a file from Karbon to a specified local path using a download URL from list_entity_files. Prompts for permission before saving outside temporary directories.
Instructions
Download a Karbon file to a local path on the machine running this MCP server. Get the DownloadUrl from list_entity_files first — download links expire after 15 minutes, so re-list if the download fails with an auth error. Ask the user where to save before writing outside a temp directory, and never overwrite a file the user didn't ask you to replace.
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": {
"downloadUrl": "<downloadUrl>",
"savePath": "<savePath>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savePath | Yes | Absolute local file path to save to, including the file name | |
| downloadUrl | Yes | The DownloadUrl returned by list_entity_files |