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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | Yes | ||
| resource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||