Add a written document
hip_add_text_documentTypeset text you wrote with the person into a printed document (for a letter in a handwriting-style font, use hip_set_letter; for a file the person already has, use hip_get_upload_target). Needs a job_handle from hip_create_job. Add a letter or document whose text you wrote with the person. Have It Printed typesets it on US Letter paper in a clean serif font, in black and white, and counts its pages. Plain text only: separate paragraphs with a blank line; no images, tables or formatting. Call once per document. Returns the added document and its page count; next choose how it is mailed (hip_update_job) or get the price (hip_quote).
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": {
"job_handle": "<job_handle>",
"title": "<title>",
"text": "<text>"
},
"name": "hip_add_text_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | the full text to print, exactly as it should read | |
| title | Yes | a short name for the document; it names the file and is not printed | |
| copies | No | copies (default 1) | |
| job_handle | Yes | the job_handle that hip_create_job returned (job_ followed by 32 hex characters). Only the API key that created the job can use it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||