Launch price: $25 $15 a book, shipped free
TinyTales
How it works What you get Pricing For agents Sign in
pick a crayon
Start a book

Pages

tinytales_pages books:write

Add a page, change captions, reorder, set the cover, or retry a failed page. Actions: add, update_caption, reorder, set_cover, retry.

Actions: add, update_caption, reorder, set_cover, retry.


01Access

The signed-in customer must have approved books:write. Calls stay inside that account.

02Annotations

readOnlyHint
false

The tool creates or updates records in the signed-in account.

destructiveHint
false

The change can be removed later with tinytales_delete, or it only adds data.

openWorldHint
false

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.

idempotentHint
false

Repeating the call can create another record.

03Input

action
string · required

Which action to run: add, update_caption, reorder, set_cover, retry.

book_id
string · required

Book id from tinytales_books action list or tinytales_books_write action create.

page_id
string

Page id for update_caption, set_cover, or retry.

image_id
string

Existing image id for add, from tinytales_images action list.

caption
string

New caption for update_caption. An empty string clears it.

page_ids
string

Comma-separated page ids in the new order for reorder. Include every page.

move_to_front
boolean

For set_cover: when true (default), move this page to page one.

response_format
string

json returns structured data. markdown returns the same data as a short readable summary. Defaults to json.

04Output

ok
boolean · required

True when the underlying TinyTales route accepted the call.

summary
string · required

One-line result for the model to read.

error
string

Present when ok is false. Names the failed state and the next action to call.

05Errors

06Example request

{
  "action": "update_caption",
  "book_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "page_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  "caption": "The canoe"
}

07Example response

{
  "ok": true,
  "summary": "Updated the page caption."
}

All tools