download_file
Retrieve the content of a file stored in ERPNext by specifying its document name.
Instructions
Download a file's content from ERPNext.
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": {
"file_name": "<file_name>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | The File document name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||