tinytales_create_checkout tinytales:write
Create a Polar checkout URL for a printable book. The person pays in the browser. This tool does not charge a card, and it does not create a print job. If ordering is closed, call tinytales_join_waitlist instead.
The signed-in customer must have approved tinytales:write. Calls stay inside that account.
The tool creates a pending checkout URL.
No card is charged and no print job is created. The person completes payment in the browser.
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 call can create another record or spend quota again.
Book id returned by tinytales_list_books or tinytales_create_book.
Number of printed copies, from 1 to 25. Defaults to 1.
json returns structured data. markdown returns the same data as a short readable summary. Defaults to json.
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.
Polar URL where the person pays. Absent when ordering is closed.
{
"book_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"quantity": 1
}
{
"ok": true,
"summary": "Checkout link is ready. The person pays in the browser.",
"checkout_url": "https://polar.sh/checkout/example"
}