Get print pricing
tinytales_get_pricing tinytales:read
Load the current print price from the same Polar config checkout uses. Optional quantity uses the curation profile defaultQuantity, or 1 if no profile is set. Returns the unit price (promo when active), list price, additional-copy price, whether the promo is active, whether shipping is included, the currency, and the total. State the total before checkout. This does not charge a card.
01Access
The signed-in customer must have approved tinytales:read. Calls stay inside that account.
02Annotations
The tool only loads data that already belongs to the signed-in account.
The tool does not delete, overwrite, publish, or send anything.
This tool only reads or changes the signed-in TinyTales account. It does not post to the public internet or to other people’s services.
Repeating the same call does not stack a second effect.
03Input
Number of printed copies. When omitted, uses the curation profile defaultQuantity, or 1 if no profile is set. 1 means one shared copy.
json returns structured data. markdown returns the same data as a short readable summary. Defaults to json.
04Output
True when the underlying TinyTales route accepted the call.
One-line result for the model to read.
Present when ok is false. Names the failed state and the next tool to call.
Copy count used for this quote.
Price breakdown from the same Polar config checkout uses: unitPriceCents (promo when active), listPriceCents, additionalCopyPriceCents, promoActive, shippingIncluded, currency, quantity, and totalCents.
05Errors
- Unauthorized
06Example request
{
"quantity": 1
}
07Example response
{
"ok": true,
"summary": "Pricing loaded. State the total before checkout.",
"quantity": 1,
"pricing": {
"currency": "USD",
"shippingIncluded": true,
"promoActive": true,
"listPriceCents": 2500,
"unitPriceCents": 1500,
"additionalCopyPriceCents": 800,
"quantity": 1,
"totalCents": 1500
}
}