Launch price: $25 $15 a book, shipped free
TinyTales
How it works What you get Pricing Gift cards With your assistant Sign in
pick a crayon
Start a book

Edit books

tinytales_books_write books:write

Create a coloring book or change its title, cover color, or optional first interior dedication page. The cover line remains fixed. Actions: create, update, process. Photos start drawing when uploaded with tinytales_images_write, so process is rarely needed.

00Actions


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: create, update, process.

book_id
string

Book id for update or process.

title
string

Book title, up to 24 characters (it must fit on the printed cover). A default title is used when omitted on create.

cover_field_color
string

Cover background color for update. Existing books default to yellow.

dedication_message
string

Optional first interior dedication page, up to 180 characters and six line breaks. Does not change the fixed cover line.

remove_dedication
boolean

Remove the first interior dedication page.

description
string

Optional private note about the book, up to 500 characters. Used on create only. It is not printed.

age_group
string

Optional, on create. Little Ones = thick lines and big shapes for ages 2 to 5. Big Kids = more detail for ages 6 to 12. Omit to use Simple.

style
string

Optional, on create. Simple or Detailed. Ignored when age_group is set. Omit for Simple.

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.

next_step
string

What to do next, in one sentence. Present when TinyTales knows a clear next action. Follow it before trying anything else.

error
string

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

data
object

On create: { bookId }. On process: { queued, progress }.

05Errors

06Example request

{
  "action": "create",
  "title": "Sunday at the lake"
}

07Example response

{
  "ok": true,
  "summary": "Created a draft book. The new book id is data.bookId.",
  "next_step": "Upload each photo with tinytales_images_write action upload, using the bookId in data. Each upload starts a coloring page. Do not call process.",
  "data": {
    "success": true,
    "bookId": "7c9e6679-7425-40de-944b-e07fc1f90ae7"
  }
}

All tools