Get the price
hip_quoteThe exact price for the job, from Have It Printed's own page count and the same pricing the website checkout uses. Call it after the documents and mailing option are set and before hip_create_checkout, and show the person the total; it stores this quote, and the checkout is bound to it. Tax, if any, is added by Stripe at payment: to pay on your own, get the payable total with hip_prepare_payment instead. Returns total, total_pages and line_items.
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>"
},
"name": "hip_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 | |||