Get account
get_accountCall this first. Shows which ColorCraft account you are acting for, its plan and state, how many pages are left (1 page of balance = 1 coloring, storybook or puzzle page; a comic page costs 2), whether you may spend, the research searches left (and whether research_niche can search through this connection), this connection’s spending limits and what it has used today, the account’s hourly limit on books started (book_starts: create_book is refused once it is used up), and, when spending is blocked, why (spend_blocked_reason) and the single next step (with a link for the person). pages_held_for_running_books is what books still drawing may still be charged (a book paused at its preview holds nothing more until approve_preview reserves the rest); pages already drawn are already out of page_balance. A page is charged a moment before it is saved, so while a book is saving a page the hold can still include it for a moment after page_balance has dropped (1 page of balance, 2 for a comic page, per book drawing): that timing can make the hold read high, never low. One-time bonuses also add to page_balance (for example +10 for the account’s first book of a kind, +5 for its first cover), and so do purchases, plan grants and pages added by ColorCraft, so it can end higher than before minus cost_charged; get_usage reports them as pages_credited, by source. credential.rate_limits gives the per-minute call limits (60 calls a minute to tools that don’t spend, 10 to spending tools, counted separately; a call counts even when it is refused). Through an API key, spending (pages and research searches) needs a paid Creator plan or higher: trials, Mini and Starter accounts connect through an app (the Connect button) instead, which can spend on any plan or trial. Without a plan, legacy free pages can be used only on colorcraft.ai, and the same goes for the free research searches. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | ||
| account | Yes | ||
| research | Yes | ||
| can_spend | Yes | Whether spending tools (pages, and research searches) work through this connection now. | |
| next_step | Yes | ||
| credential | Yes | ||
| book_starts | Yes | The account’s hourly limit on books started: create_book is refused with rate_limited once used_this_hour reaches per_hour. Reading it uses nothing. Null when it could not be read. | |
| spend_blocked_reason | Yes | Why this connection cannot spend (can_spend false; next_step is what the person can do about it). While can_spend is true it is null, unless the hourly limit on books started is used up (book_starts): then it says so, and only create_book is refused until the next hour. |