saveToDisk
Downloads a file from a URL and saves it to disk with a specified filename, with option to overwrite existing files.
Instructions
Download file to disk
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": {
"url": "<url>",
"filename": "<filename>"
},
"name": "saveToDisk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to download | |
| filename | Yes | Filename to save as | |
| overwriteIfExists | No | Overwrite if exists |