Books
tinytales_books books:read
List or load coloring books, generation progress, or a print and shipping cost for an address (does not charge a card). Actions: list, get, progress, quote. Use progress to wait for drawing to finish.
00Actions
list— needs nothing else. Scope:books:read.get— needsbook_id. Scope:books:read.progress— needsbook_id. Scope:books:read.quote— needsname,street1,city,postcode,country_code. Scope:books:read.
01Access
The signed-in customer must have approved books:read. Calls stay inside that account.
02Annotations
The tool only loads data that already belongs to the signed-in account.
The change can be removed later with tinytales_delete, or it only adds data.
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
Which action to run: list, get, progress, quote.
Optional filter for list: draft, processing, ready, or published.
Page size from 1 to 50. Defaults to 20.
Opaque cursor from the previous page. Omit for the first page.
Book id for get or progress.
Recipient name for quote.
Street address line 1 for quote.
Street address line 2 for quote.
City for quote.
State or region code for quote.
Postal code for quote.
Two-letter country code for quote.
Optional phone number for the carrier.
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.
For action quote those fields form the shipping address the quote route expects:
{
"action": "quote",
"name": "Ada Lovelace",
"street1": "1 Book St",
"city": "Brooklyn",
"postcode": "11201",
"country_code": "US",
"quantity": 1
}
04Output
True when the underlying TinyTales route accepted the call.
One-line result for the model to read.
What to do next, in one sentence. Present when TinyTales knows a clear next action. Follow it before trying anything else.
Present when ok is false. Names the failed state and the next action to call.
True when another page exists.
Pass as cursor to fetch the next page.
Total matching rows when the route can count them.
For get: book (status, role (owner or collaborator), pageCount, allPagesRendered, previewApproved, previewStale, mcpReadyToCheckout, mcpCanReprint, mcpCheckoutBlockedReason, coverPageId, coverFieldColor, dedicationMessage) plus progress.pages[]. mcpReadyToCheckout is the MCP first-print answer for this book; the token also needs checkout:write. mcpCanReprint is true only when mcpReadyToCheckout is also true and this person already has a completed print order for the book; mcpCheckoutBlockedReason is null when mcpReadyToCheckout is true. For progress: progress with total, completed, failed, inProgress, and pages[] each with pageId, imageId, status, previewUrl. For list: an array of books. Object or array.
05Errors
- Unauthorized
- Book not found
- Print fulfillment is not configured
- Too many requests
06Example request
{
"action": "list",
"limit": 20
}
07Example response
{
"ok": true,
"summary": "2 books.",
"has_more": false,
"total_count": 2,
"data": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"title": "Sunday at the lake",
"status": "ready"
}
]
}