Account
tinytales_account account:read
Read this account or pre-tax print pricing (does not charge a card). Actions: get, pricing. Read saved book notes with tinytales_profile action get.
00Actions
get— needs nothing else. Scope:account:read.pricing— needs nothing else. Scope:account:read.
01Access
The signed-in customer must have approved account: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: get, pricing.
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.
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.
Account or billing JSON. Object or array.
Copy count used for a pricing quote.
Pre-tax price breakdown from the same config checkout uses. promoActive is true only when the launch discount is configured ($15); otherwise unitPriceCents is $25 list. Includes listPriceCents, additionalCopyPriceCents, shippingIncluded, currency, quantity, and totalCents. totalCents EXCLUDES sales tax/VAT: the hosted checkout adds tax based on the shipping address, so never call it the final total. International orders may also owe import VAT, customs duties, or carrier handling fees on delivery.
05Errors
- Unauthorized
- account_under_review
06Example request
{
"action": "get"
}
07Example response
{
"ok": true,
"summary": "Loaded the TinyTales account.",
"next_step": "If the person wants a new book, call tinytales_books_write action create. To continue a book, call tinytales_books action list.",
"data": {
"account": {
"ok": true
},
"billing": {
"hasPaidOrder": false,
"freeAccess": false,
"canOrderLive": false,
"promoActive": false
}
}
}