Download ONES Resource
download_ones_resourceFetches an ONES resource by URL, enabling retrieval of document files or images when signed links expire.
Instructions
Download an ONES resource by URL. Signed image URLs can expire; prefer get_doc(include_resources=true) followed by download_ones_resource_by_id.
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>"
},
"name": "download_ones_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| filename | Yes | ||
| mime_type | Yes | ||
| size_bytes | Yes | ||
| content_base64 | Yes |