Finish adding a file
finish_fax_fileOnce the file’s PUT has answered 200, has XipFax read it back and count its pages. Answers the document, ready to send, with its pages; refused where the file never arrived, is locked or unreadable, or takes the fax past the pages a fax may hold. 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": {
"document_id": "<document_id>"
},
"name": "finish_fax_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The document, as add_fax_file gave it. |
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. |