Fetch to Vault
fetchDownload a URL on the server and save it in the vault as a note or attachment; bytes stay off the conversation, and the returned path can be passed to other tools.
Instructions
Download a URL on the server and save it in the vault as a note or attachment; returns its path, size and final_url.
The bytes never pass through the conversation, so use it for large files and then pass the path to other tools.
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>",
"path": "<path>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | An HTTP or HTTPS URL on the public internet. Redirects are followed, so check final_url in the result when the source host matters. | |
| path | Yes | Destination path, such as `"notes/report.md"` or `"assets/diagram.png"`; .md saves a note, anything else an attachment. | |
| if_match | No | Etag from read, to replace an existing file; omit for a new file. | |
| timeout_s | No | Download timeout in seconds (default 30); raise it for a large file from a slow host. | |
| frontmatter | No | Frontmatter for a note, such as `{"title": "Report", "source": "https://example.org/report"}`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||