Download an accessible SAS original
sas_download_resourceDownloads an accessible unencrypted official PDF from authorized SAS materials into a configured private local directory, adding SHA-256 and provenance while avoiding overwrites.
Instructions
Save an accessible unencrypted original official PDF in the configured private local directory, with SHA-256 and catalog/book/chapter/source provenance. New random filename; never overwrites. Revalidates resource ancestry and own-class visibility. Protected books use the official portal reader. No caller URL, header or filename is accepted.
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": {
"materialId": "<materialId>",
"sectionId": "<sectionId>",
"resourceId": "<resourceId>"
},
"name": "sas_download_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sectionId | Yes | ID returned by an earlier SAS catalog or section tool. | |
| materialId | Yes | ID returned by an earlier SAS catalog or section tool. | |
| resourceId | Yes | ID returned by an earlier SAS catalog or section tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||