Prepare a fax (returns a link to confirm and pay)
send_faxPrepares a fax of a PDF to a fax number and returns a confirmation link. The fax is NOT sent and nothing is charged until the person opens the link, checks the pages and number, pays or uses their FaxUp credits, and presses Send on faxup.net. The PDF comes as file_url (a public https link) or file_base64. The result includes confirm_url, the link the person opens.
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": {
"to_number": "<to_number>"
},
"name": "send_fax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A file the person attached in ChatGPT (filled in by the host). | |
| cover | No | Optional cover page, added ahead of the document on faxup.net. | |
| country | No | ISO country code for a number given without "+", e.g. "GB". | |
| file_url | No | Public https:// link to the PDF. | |
| filename | No | Name shown to the person, e.g. "lease.pdf". | |
| to_number | Yes | Fax number in international form, e.g. "+1 202 555 0143" or "+44 20 7123 4567". Without a "+" it is read as US/Canada, or as `country`. | |
| file_base64 | No | The PDF itself, base64-encoded (up to 25 MB). |