Add a file from a link
add_fax_file_from_urlPuts a PDF at a public address on the person’s XipFax draft: XipFax fetches it from the link, which must answer with the PDF itself, and reads its pages. Answers the document, ready to send, with its pages; refused, saying why, where XipFax can’t fetch it, or the PDF is locked, unreadable or takes the fax past the pages a fax may hold, and then nothing is added. For a file on the person’s own disk, use add_fax_file. Give send_fax its 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": {
"name": "<name>",
"url": "<url>"
},
"name": "add_fax_file_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Where XipFax fetches it from: an https link to a public address that answers with the PDF itself, 40 MB at most, within 15 seconds. XipFax follows no redirect. | |
| name | Yes | Its name, such as its file’s: 255 characters at most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document. | |
| name | Yes | Its name, as it was added. | |
| status | Yes | `uploading` until XipFax has read it back, then `ready`. An open set: read what you know. | |
| page_count | Yes | Its pages, once XipFax has read it; null while it uploads. | |
| size_bytes | Yes | Its size. |