Look up a fax
get_faxHow a fax of the person’s went, by its id, as send_fax gave it: whether it is sending and how far it has got, delivered, or failed and why, and when it is tried again, with its pages, its price and its times. Answers a fax they received too. For a delivered fax’s confirmation, use get_fax_confirmation.
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_fax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fax_id | Yes | The fax, by its id, as send_fax gave it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The fax. | |
| step | Yes | Where a fax being sent has got to: `queued`, `preparing` its pages, then `sending`; null for a draft, once it has ended, and for a fax received. An open set. | |
| pages | Yes | Its pages, the cover page among them. | |
| price | Yes | What it costs: what its payment holds while it sends, and what was taken once it was delivered. Null for a fax sent on the plan or with a promo code, for one that failed, which costs nothing, and for a fax received. | |
| status | Yes | Where it stands: `draft` for the person’s draft, read by its id until it is sent; `sending` until it is delivered or fails for good, then `delivered` or `failed`; `received` for a fax sent to their XipFax number. An open set: read what you know. | |
| failure | Yes | Why its last try failed: `no_answer`, `busy`, `call_dropped`, `declined`, `not_a_fax_number`, or `ours` for a failure on XipFax’s side. Null where none failed. An open set. | |
| sent_at | Yes | When the person sent it; for a fax received, when it came. | |
| retry_at | Yes | When it is tried again, while a failed try waits for the next; null otherwise. | |
| direction | Yes | `sent` for a fax the person sent, `received` for one sent to their XipFax number. | |
| office_id | Yes | The office it went to, by its id on XipFax’s list, as find_fax_number gives it; null for a number typed, and for a fax received. | |
| time_zone | Yes | The time zone its confirmation tells its times in, as the IANA database names it; null for a fax received. | |
| to_number | Yes | The number it went to, `+1` and ten digits; for a fax received, the person’s own XipFax number it came to. | |
| finished_at | Yes | When it was delivered or failed for good; null until then. | |
| from_number | Yes | For a fax sent, the number it went from: the person’s own XipFax number where they have a plan, otherwise XipFax’s; null while the fax waits for them. For a fax received, the caller’s number, null where the caller’s line gave none. | |
| sender_name | Yes | For a fax the person sent, the sender’s name its header line gave. | |
| cover_confidential | Yes | Whether its cover page was marked Confidential; false for a fax received. |