Download fax file
get-fileReturn a short-lived URL for a sent or received fax file (pdf or tiff). Save that URL to a file on disk immediately. Do not paste the file bytes into the conversation. Open the saved file when the user wants to view it.
Side effects: none (read-only); returns url and expiration_seconds, not file bytes.
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": {
"fax_id": "<fax_id>"
},
"name": "get-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fax_id | Yes | Fax record ID whose file should be downloaded. | |
| format | No | 'pdf' (default) or 'tiff'. | |
| user_id | No | Fax.Plus user ID. Default: self. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| expiration_seconds | Yes |