get_resource_file
Download a Joplin resource (e.g., embedded screenshot) to a local file path for viewing.
Instructions
Download a Joplin resource's raw file (e.g. a screenshot embedded in a note) and save it to a local path, so it can then be viewed with a file-reading tool. Call get_resource_info first if you need the mime type to choose the save_path's extension.
Args:
resource_id: The Joplin resource id (from a note body link like ':/<id>').
save_path: Absolute local file path to save the downloaded file to.
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": {
"resource_id": "<resource_id>",
"save_path": "<save_path>"
},
"name": "get_resource_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | Yes | ||
| resource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||