Tools reference
Every stos_* MCP tool the plugin exposes. Each one wraps a /api/v1/* endpoint so the two transports share one implementation.
How to read this
Tools come in five common shapes: _list, _get, _create, _update, _delete. Updates are PATCH semantics — pass only the fields you want changed. Resources that have extra workflow (timers, set-active, send, complete) get bespoke additional tools listed in the right group.
_list tools return a light projection of the first 50 rows by default. Pass fields:"full" for every column (or use _get for one full record), limit/offset (or limit:"all") to page, and count:true for a bare { count } with no rows. For account-wide orientation, prefer stos_account_manifest / stos_email_overview / stos_sales_overview over many separate _list calls.
Tip
Large files: files up to 25 MB can go straight into the upload tools. For a bigger file on your computer (up to 100 MB), such as a Vellum project or a print cover PDF, your assistant uses stos_uploads_create, sends the file to the private link it gets back, then calls stos_uploads_finalize. The file goes straight to your own storage and never replaces a file you already have.
Tip
Version 2 (optional): add ?api_version=2 to the connector address, or send the header STOS-API-Version: 2, and every tool answers in one shape (data, plus pagination for lists) and refuses arguments it does not know instead of ignoring them. Nothing changes unless you opt in. See API version 2.
Every scoped tool accepts an optional penNameId argument. Pass it on every call in a multi-step flow — it doesn't carry across automatically. Without one, calls target your active / primary pen name.
Discovery & scope
Always call these first when the user mentions a specific pen name — the penNameId argument is required on every scoped tool downstream.
| Tool | Description |
|---|---|
| stos_account_manifest | One-call orientation: the whole pen-name → series → title catalog with chapter/scene + worldbuilding counts, light projection. Call this instead of stos_pen_names_list + stos_series_list + stos_titles_list. depth: pen_names|series|titles|full. |
| stos_pen_names_list | List every pen name. Returns its StorytellerOS id, name, genres, tagline, and heat level. |
| stos_pen_names_get | Full pen-name record including guides, persona, prose sample, and links. Read before drafting prose. |
| stos_pen_names_update | Update guides, persona, tagline, and genres. Relevant changes synchronize with Social Studio automatically. |
| stos_pen_names_imprint_logo_get | The pen name's imprint logo for print covers, with a link that works for one hour. |
| stos_pen_names_upload_imprint_logo | Set the imprint logo that goes on the back of print covers (PNG, JPEG or WebP, up to 10 MB), or put back an earlier one. The logo it replaces is kept. |
| stos_pen_names_remove_imprint_logo | Take the imprint logo off a pen name. Two steps: the first call returns the question; confirm: true removes it. The file is kept so it can be put back. |
| stos_pen_names_delete | Delete a pen name and everything in it. Two steps: the first call returns the question and what is attached; confirm: true deletes. Titles go to the title trash; the pen name, series and characters are kept 30 days. |
Ads Studio
Cross-network campaign planning, creation, analytics, attribution, audiences, conversion events, AI creative work, and Amazon Sponsored Products. Spend-impacting tools require review and create paused by default.
| Tool | Description |
|---|---|
| stos_ads_accounts_list | List connected ad destinations and accounts. |
| stos_ads_campaigns_unified | Compare normalized campaign performance across destinations. |
| stos_ads_create | Create an idempotent reviewed campaign plan, paused by default. |
| stos_ads_update | Update an ad with a stable idempotency key. |
| stos_ads_campaign_status_update | Pause or activate a campaign after explicit confirmation. |
| stos_ads_analytics | Get daily and audience-breakdown analytics for one ad. |
| stos_ads_recommendations | Analyze results and return review-only suggested actions. |
| stos_ads_optimize | Score campaigns deterministically without changing delivery. |
| stos_ads_lead_forms_list | List destination-native instant lead forms. |
| stos_ads_lead_forms_create | Create a reviewed instant lead form. |
| stos_ads_title_mapping_set | Map a campaign to its canonical StorytellerOS title, or give it a custom label. |
| stos_ads_audiences_list | List reusable destination audiences. |
| stos_ads_targeting_search | Search valid interests, behaviors, and locations. |
| stos_ads_conversion_send | Send a confirmed server-side conversion event. |
| stos_ads_tracking_tags_list | List the pixels on a connected ad account. |
| stos_ads_tracking_tags_create | Create a pixel on an ad account (pixels cannot be deleted). |
| stos_ads_tracking_tag_events_list | List the conversion events on a pixel. |
| stos_ads_tracking_tag_events_create | Add a conversion event to a pixel. |
| stos_ads_tracking_tag_events_update | Rename or change a pixel conversion event. |
| stos_ads_tracking_tag_events_delete | Remove a pixel conversion event after confirmation. |
| stos_ads_tracking_tag_store_install | Install a pixel on your Shopify store in one click. |
| stos_ads_tracking_tag_store_install_get | Check whether a pixel is live on your Shopify store. |
| stos_ads_tracking_tag_store_uninstall | Take a pixel off your Shopify store after confirmation. |
| stos_ads_catalogs_list | List the Meta product catalogs your ad account can use. |
| stos_ads_catalogs_create | Create an empty Meta product catalog after confirmation. |
| stos_ads_catalog_product_sets_list | List the product sets in a Meta catalog. |
| stos_ads_catalog_syncs_list | List your Shopify store's syncs into Meta catalogs. |
| stos_ads_catalog_syncs_create | Keep your Shopify store synced into a Meta catalog. |
| stos_ads_catalog_syncs_get | Check a catalog sync's status and counts. |
| stos_ads_catalog_syncs_run | Run a catalog sync now. |
| stos_ads_catalog_syncs_delete | Stop a catalog sync (the catalog stays). |
| stos_ads_creative_draft | Draft a campaign grounded in title and pen-name data. |
| stos_ads_creative_copy | Generate grounded hooks and ad copy. |
| stos_ads_creative_images_generate | Generate ad images into the shared creative asset feed. |
| stos_ads_creative_assets_list | List generated creative assets. |
| stos_ads_amazon_create | Create an idempotent Amazon Sponsored Products campaign, always paused. |
| stos_ads_amazon_campaigns | List Amazon campaign performance. |
| stos_ads_amazon_profitability | Compare Amazon-attributed sales, royalties, spend, ACOS, and ROAS. |
| stos_ads_amazon_sync | Request fresh Amazon Ads reports. |
| stos_ads_setup_status | Where each pen name is in ads setup, what is done and what to do next. Call it first when you want help with ads. |
| stos_ads_capabilities | What this pen name can do with ads right now, network by network. |
| stos_ads_connect | Start connecting an ad account. |
| stos_ads_strategy_plans_list | List strategy plans for the pen name. |
| stos_ads_strategy_plan_create | Start a strategy plan from your situation. |
| stos_ads_strategy_plan_generate | Generate a plan version from the house playbook. |
| stos_ads_strategy_plan_adopt | Adopt one plan version (adopted versions never change). |
| stos_ads_strategy_review_audit | Turn real reader reviews into ad-ready language. |
| stos_ads_strategy_ad_library_scan | See what comparable books are running. |
| stos_ads_test_runs_list | Read click-test runs and their results. |
| stos_ads_test_run_judge | Record the winners of a click test after you confirm them. |
| stos_ads_tracking_setup_get | Read your tracking setup. |
| stos_ads_tracking_links_list | List the links your ads send readers to. |
| stos_ads_tracking_bridge_check | Check that a link's bridge page carries a pixel and forwards. |
| stos_ads_tracking_verify | Check that a pixel is firing. |
| stos_ads_tracking_amazon | Amazon Attribution results from off-Amazon clicks. |
| stos_ads_creative_hooks | Write a hook for each ad idea. |
| stos_ads_creative_copy_per_ad | Write one complete ad per approved hook. |
| stos_ads_creative_video_generate | Generate a short ad video (your own video key). |
| stos_ads_groups_rollup | Campaign groups with spend, return, and a verdict. |
| stos_ads_unified_timeline | Daily spend and results across every network. |
Writing Studio
Titles, chapters, scenes, and multi-revision manuscript files. The DB column is still books for legacy reasons; the API and tools say "title".
| Tool | Description |
|---|---|
| stos_titles_list | List titles. Filter by seriesId and status: one status, several separated by commas, or "active" for every status except retired. With no status filter, every title is listed, retired ones included. |
| stos_titles_get | Full title record + retailer listings. |
| stos_titles_create | Create a title. Required: title (string). |
| stos_titles_update | PATCH semantics — only the fields you pass. |
| stos_titles_bulk | Add or update up to 200 titles in one call, with a result for each. Matches each by id, your own external_ref, ASIN or ISBN, then title text. Never overwrites writing a title already has (front and back matter, notes) and never deletes. Two titles with the same name come back as a question. dry_run previews without saving. |
| stos_titles_delete | Delete a title in two steps: the first call returns the question to ask you, and only a call with confirm: true after you say yes deletes it. Its files, saved text and translations are kept for 30 days, then removed for good; the response includes trashId. |
| stos_titles_deleted_list | Recently deleted titles, newest first, with the days each has left before it is removed for good. |
| stos_titles_deleted_get | One recently deleted title and its kept files, each with a download link that works for ten minutes. |
| stos_titles_deleted_details | The saved chapters, scenes, notes, version history and deleted chapters of a recently deleted title. |
| stos_titles_deleted_restore | Restore a recently deleted title as it was. The first call returns the question to ask you; only a call with confirm: true after you say yes restores it. |
| stos_chapters_list | List chapters. Filter by bookId. |
| stos_chapters_get | Full chapter record. |
| stos_chapters_create | Create a chapter under a title. |
| stos_chapters_update | Update chapter title, content path, status, and where it prints (book_part: a chapter of the story, front matter, back matter or a part title page; chapter_numbering: numbered or not). |
| stos_chapters_delete | Delete a chapter in two steps: the first call returns the question to ask you, and only a call with confirm: true after you say yes deletes it. A copy is saved first; the response includes revisionId. |
| stos_chapters_deleted_list | List a title's deleted chapters with their revisionId, word count, date and whether each can be restored. Paged with cursor. |
| stos_chapters_deleted_get | Read a deleted chapter's saved text, scene by scene, without restoring it. |
| stos_chapters_restore_deleted | Bring back a deleted chapter from its revisionId. Asks first only if its old chapter number is now taken. |
| stos_scenes_list | List scenes. Filter by bookId / chapterId. |
| stos_scenes_get | Full scene record. |
| stos_scenes_create | Create a scene under a chapter. |
| stos_scenes_update | Update scene fields. |
| stos_scenes_delete | Delete a scene. |
| stos_translations_list | A title's translation languages, with progress. |
| stos_translations_add_language | Add a translation language to a title. The original is never changed. |
| stos_translations_get | One language: translated front/back matter, custom sections, per-chapter progress, and kept text that doesn't print right now. |
| stos_translations_update_matter | Save a language's translated front/back matter. Clearing text asks the author first. |
| stos_translations_delete | Delete a whole language. Asks the author first; restorable. |
| stos_chapter_translations_get | A chapter's translation: title, each scene's translated text and revision. |
| stos_chapter_translations_save | Create or update a chapter translation (title, or text split into its scenes in order). Checked before anything is written. |
| stos_chapter_translations_delete | Delete a chapter's translation and its scenes' translations. Asks first; restorable. |
| stos_scene_translations_get | A scene's translated title and text, with its revision. |
| stos_scene_translations_save | Create or update a scene's translation. Send the revision you read; every save is kept. |
| stos_scene_translations_delete | Delete a scene's translation. Asks first; restorable. |
| stos_translations_search | Search one language's translated text. Continue with the cursor when it isn't complete. |
| stos_translations_deleted_list | A title's deleted translations, one entry per delete. |
| stos_translations_restore | Bring back exactly what one translation delete removed. |
| stos_translation_versions_list | Every saved version of a translation (scene, chapter or matter), or one in full. |
| stos_translation_versions_restore | Put a saved version back as the current text. Asks first; the replaced text stays in history. |
| stos_scenes_split | Split a scene in two at a point in its text. Being turned on one account at a time; every change can be undone. |
| stos_scenes_merge | Merge a scene into the scene before it (the merged scene is archived, not deleted). |
| stos_scenes_move | Reorder a scene, or move it to another chapter of the same book. |
| stos_chapters_insert_scene | Add a new, empty scene at a chosen place in a chapter. |
| stos_scenes_layout_changes_list | List a chapter's saved scene changes (splits, merges, moves, new scenes). |
| stos_scenes_layout_undo | Undo a saved scene change. Asks the author first; refused if the chapter changed since. |
| stos_title_manuscripts_list | List manuscript file revisions for a title. |
| stos_title_manuscripts_create | Register an already-uploaded manuscript as a new revision (caller uploads via the dashboard or presigned URL). |
| stos_title_manuscripts_update | Rename or annotate a revision. |
| stos_title_manuscripts_delete | Remove the revision record. The underlying storage file is preserved for recovery. |
| stos_title_manuscripts_set_active | Mark a revision as active for its title (mirrors storage_path onto books.word_doc_storage_path). |
Knowledge Studio
The story bible — characters, locations, lore, story-timeline events, notes, and personal documents. Plus the worldbuilding-links dispatcher for junction tables.
| Tool | Description |
|---|---|
| stos_characters_list | List characters. Filter by seriesId. |
| stos_characters_get | Full character record. |
| stos_characters_create | Create a character. Required: character_name. All depth fields (core_desire, core_fear, character_arc, etc.) writable. |
| stos_characters_update | Patch any writable column. |
| stos_characters_delete | Delete a character. Two steps: the first call returns the question for the author; confirm: true deletes. Kept 30 days with its links (stos_deleted_items_restore). |
| stos_locations_list | List locations. |
| stos_locations_get | Full location record. |
| stos_locations_create | Create a location. Required: location_name. Fields include description, type, key_features, climate, coordinates, map_image_url. |
| stos_locations_update | Patch any writable column. |
| stos_locations_delete | Delete a location. |
| stos_lore_list | List lore entries. |
| stos_lore_get | Full lore record. |
| stos_lore_create | Create a lore entry. Required: lore_name. Fields: type, rules_and_mechanics, examples_and_usage, origin_and_history, contradictions_check, tags. |
| stos_lore_update | Patch any writable column. |
| stos_lore_delete | Delete a lore entry. |
| stos_events_list | List story-timeline events (NOT user-calendar — see calendar tools). |
| stos_events_get | Full story-event record. |
| stos_events_create | Create a story-timeline event. event_date is free text (in-universe dates may not match real calendars). |
| stos_events_update | Patch any writable column. |
| stos_events_delete | Delete a story event. |
| stos_notes_list | List chapter sticky notes. |
| stos_notes_get | Full note record. |
| stos_notes_create | Create a note scoped to a chapter. |
| stos_notes_update | Edit a note. |
| stos_notes_delete | Delete a note. |
| stos_personal_documents_list | List user personal documents. |
| stos_personal_documents_get | Full document record. |
| stos_personal_documents_attachments_list | List files attached to a document, with 1-hour download links. |
| stos_personal_documents_attachments_create | Attach any file type to a personal document — PDFs, spreadsheets, design files, archives. Not virus-scanned. |
| stos_personal_documents_attachments_delete | Delete an attachment and its stored bytes. |
| stos_personal_documents_create | Create a personal document. |
| stos_personal_documents_update | Update a document. |
| stos_personal_documents_delete | Delete a document. |
| stos_worldbuilding_link | Create one association between a writing-studio entity (title/chapter/scene/series/event/lore) and a knowledge-studio entity (character/location/event/lore). Single-pair only — never batched. |
| stos_worldbuilding_unlink | Remove an association. Same body shape as _link. |
Series
Multi-book series grouping. Owns its own worldbuilding (themes, framework, supernatural mechanics).
| Tool | Description |
|---|---|
| stos_series_list | List series. Filter by penNameId. |
| stos_series_get | Full series record. |
| stos_series_create | Create a series. Required: series_name. |
| stos_series_update | Patch any writable column. |
| stos_series_delete | Delete a series and everything in it. Two steps: the first call returns the question and what is attached; confirm: true deletes. Titles go to the title trash; the series and its characters are kept 30 days. |
| stos_series_move | Move a series, with its titles and characters, to another pen name instead of deleting it. |
| stos_deleted_items_list | Recently deleted pen names, series and characters (kept 30 days). |
| stos_deleted_items_get | One deleted item with its saved rows, for reading text back. |
| stos_deleted_items_restore | Bring back a deleted pen name, series or character. Titles are restored separately. |
Media Studio
Generate media and organize the shared StorytellerOS library. Character portraits can be used directly as generation references.
| Tool | Description |
|---|---|
| stos_media_generate | Generate images, video, or audio with the built-in media provider by default; pass up to three referenceUrls. |
| stos_media_generation_status | Poll active generation jobs and allowance status. |
| stos_media_assets_create | Upload a file into the library — images, video, audio, or PDF. Inline bytes up to 25 MB, or a sourceUrl the server fetches. |
| stos_media_assets_list | List shared assets with kind, source, folder, tag, search, and pen-name filters. |
| stos_media_assets_update | Replace tags, move folders, or update accessible alt text. |
| stos_media_assets_delete | Delete an asset and propagate deletion to its linked mirror. |
| stos_media_folders_list | List account-wide and pen-name media folders. |
| stos_media_folders_create | Create a root or nested media folder. |
| stos_media_folders_delete | Delete a folder while retaining its assets as unfiled. |
| stos_media_character_references_list | List character portraits with fresh signed URLs for referenceUrls. |
Tasks
Multi-pen-name task list. Filter by status, priority, scope.
| Tool | Description |
|---|---|
| stos_tasks_list | List tasks. Filter by status, bookId, seriesId, item_type. |
| stos_tasks_get | Full task record. |
| stos_tasks_create | Create a task. Required: task_name. Priority: high|medium|low. Status: to-do|in-progress|completed. |
| stos_tasks_update | Patch any writable column. |
| stos_tasks_delete | Delete a task. |
| stos_tasks_complete | Sugar — PATCH with status=completed. |
Calendar (user)
Real-world calendar events — release dates, signings, deadlines. Separate from story-timeline events.
| Tool | Description |
|---|---|
| stos_calendars_list | List user calendars. |
| stos_calendars_create | Create a calendar. |
| stos_calendars_update | Patch any writable column. |
| stos_calendars_delete | Delete a calendar. |
| stos_calendar_events_list | List calendar events. Filter by calendarId, from, to (ISO dates). |
| stos_calendar_events_get | Full calendar event. |
| stos_calendar_events_create | Create an event on a calendar. |
| stos_calendar_events_update | Patch any writable column. |
| stos_calendar_events_delete | Delete an event. |
Time tracking
Timed work blocks, writing sessions, writing goals, pomodoro settings.
| Tool | Description |
|---|---|
| stos_time_tracking_list | List time-tracking entries. |
| stos_time_tracking_get | Full entry. |
| stos_time_tracking_create | Create an entry directly (e.g. retroactive logging). |
| stos_time_tracking_update | Patch any writable column. |
| stos_time_tracking_delete | Delete an entry. |
| stos_time_tracking_start | Start a timer now. Add a note, a starting word count, or tags if you like. |
| stos_time_tracking_stop | Stop a running timer (sets end_time = now), with an optional ending word count. |
| stos_writing_sessions_list | List writing sessions. |
| stos_writing_sessions_create | Create a writing session. |
| stos_writing_sessions_update | Update a session. |
| stos_writing_sessions_delete | Delete a session. |
| stos_writing_goals_list | List writing goals. |
| stos_writing_goals_create | Create a writing goal. |
| stos_writing_goals_update | Update a goal. |
| stos_writing_goals_delete | Delete a goal. |
| stos_pomodoro_settings_get | Get pomodoro defaults. |
| stos_pomodoro_settings_update | Update pomodoro defaults. |
Finance
Vendors + income/expense transactions + summaries. Strips developer jargon from user-facing surfaces.
| Tool | Description |
|---|---|
| stos_vendors_list | List vendors. |
| stos_vendors_get | Full vendor record. |
| stos_vendors_create | Create a vendor. Required: vendorName. Fields: type, email, phone, website, address, notes. |
| stos_vendors_update | Patch any writable column. |
| stos_vendors_delete | Delete a vendor. |
| stos_finance_transactions_list | List income/expense transactions. Filter by transactionType, bookId, seriesId, vendorId. |
| stos_finance_transactions_get | Full transaction. |
| stos_finance_transactions_create | Create a transaction. Required: transactionName, transactionType (income|expense), amount, transactionDate, category. |
| stos_finance_transactions_update | Patch any writable column. |
| stos_finance_transactions_delete | Delete a transaction. |
| stos_finance_summary | Aggregated totals over a date range — income, expense, net, plus per-group breakdowns. Range: month|quarter|ytd|year|all. groupBy: category|book|vendor|pen_name|type. |
Sales Studio
Retailers, retailer links, title variations, marketing assets, products, reviews.
| Tool | Description |
|---|---|
| stos_retailers_list | List retailers (Amazon, Kobo, Apple Books, etc.). |
| stos_retailers_get | Full retailer record. |
| stos_retailers_create | Add a new retailer. |
| stos_retailers_update | Update a retailer. |
| stos_retailers_delete | Delete a retailer. |
| stos_retailer_links_list | List retailer links. Filter by titleVariationId, retailerId. |
| stos_retailer_links_create | Create a link tying a variation to a retailer. |
| stos_retailer_links_update | Update sales metadata / URL. |
| stos_retailer_links_delete | Delete a retailer link. |
| stos_title_bundles_list | List box sets and anthologies. Pass bookId to see the ones a title is in. |
| stos_title_bundles_get | One box set: its books, their weights, and the formats it sells as. |
| stos_title_bundles_create | Set up a box set or anthology: name, the books in it (any pen name), how sales are shared, and its sellable format. |
| stos_title_bundles_update | Rename it, change the books or weights, or change which format it sells as. |
| stos_title_bundles_delete | Remove a box set. Its format and store links are kept as ordinary ones. |
| stos_title_variations_list | List variations (ebook / paperback / audiobook / etc.). Filter by titleId. |
| stos_title_variations_create | Create a variation under a title. |
| stos_title_variations_update | Update ASIN/ISBN/blurb/cover URLs. |
| stos_title_variations_delete | Delete a variation. |
| stos_title_variations_files_list | List which format slots a variation has filled (cover, EPUB, PDF, Word doc, audiobook), each stored file with a download link that works for one hour. |
| stos_title_variations_shopify_get | Shopify for one variation: connected stores, the mapped product (draft or live), and a preview of what would be sent. |
| stos_title_variations_shopify_push | Send a variation to your Shopify store as a draft product, or update the one already listed. Never duplicates. Asks first: the first call returns a question for the author and nothing is sent; only after the author says yes does the assistant call again with confirm: true. |
| stos_title_variations_shopify_publish | Publish the Shopify draft to your online store and add the live link to the variation's retailer links. This puts the book on sale, so it asks first: the first call returns a question for the author and nothing changes until they say yes. |
| stos_title_variations_files_upload | Upload into a variation format slot: EPUB, interior PDF, cover, Word doc, audiobook sound file. |
| stos_title_variations_source_files_list | List source packages on a variation with 24-hour download links. |
| stos_title_variations_source_files_create | Upload a Vellum, Scrivener, InDesign, EPUB, PDF, or zip backup against a variation. |
| stos_uploads_create | Start an upload for a large file on your computer (up to 100 MB): a source project such as a Vellum file, a print cover PDF, an EPUB, an audiobook file, or a manuscript file. Returns a private upload link; the file then goes straight to your storage. |
| stos_uploads_finalize | Finish an upload: checks the file is what it should be, then adds it. It only fills an empty format slot and never replaces or overwrites a file. |
| stos_uploads_get | See where an upload stands: waiting, added, or refused (with the reason). |
| stos_titles_cover_get | Get a title's covers (primary, ebook, paperback, hardback), each stored image with a download link that works for one hour. |
| stos_titles_upload_cover | Set a title cover from bytes — primary, ebook, paperback, or hardback variant. |
| stos_title_marketing_assets_upload_file | Attach any file to a marketing asset — ad creative, promo graphics, or design sources (PSD/AI/INDD) up to 150MB. |
| stos_title_marketing_assets_list | List marketing assets. Filter by titleId. |
| stos_title_marketing_assets_create | Create a marketing asset. |
| stos_title_marketing_assets_update | Update content / file URLs. |
| stos_title_marketing_assets_delete | Delete an asset. |
| stos_products_list | List storefront products. |
| stos_products_get | Full product record. |
| stos_products_create | Create a product. |
| stos_products_update | Update a product. |
| stos_products_delete | Delete a product. |
| stos_reviews_list | List reviews. |
| stos_reviews_get | Full review record. |
| stos_reviews_create | Log a review. |
| stos_reviews_update | Update a review. |
| stos_reviews_delete | Delete a review. |
| stos_sales_overview | One-call sales orientation: variation counts (by status), retailer + retailer-link counts, review total + average rating, and an income/expense/net rollup. Cheap (counts, no rows). penNameId scopes the finance rollup. |
Publishing Studio
Make ebook, Word and print files from a title, build retailer upload bundles, and send a format to Direct2Readers or to your Shopify store. Publishing Studio is in early access: an account without it gets a PUBLISHING_NOT_ENABLED answer saying so and how to ask for access, and the assistant passes that on. Anything sent to Direct2Readers or Shopify, or put on sale, always asks first: the first call returns a question for the author and nothing changes; only after the author says yes does the assistant call again with confirm: true.
| Tool | Description |
|---|---|
| stos_publish_render | Make files for a title: epub, docx, and print (interior PDF plus a full print cover for KDP paperback and hardcover, Lulu, IngramSpark and Draft2Digital Print, or a measurements sheet for Barnes & Noble Press; check IngramSpark and Draft2Digital covers against their own cover template). If the format already has a file the author uploaded themselves (an EPUB, Word file, print interior or print cover), the first call makes nothing and returns a question; the render only runs after the author says yes. The uploaded file is always kept. Returns a jobId. |
| stos_publish_job_get | Check a render job: progress, the files it made, and any warnings to pass on to the author. |
| stos_publish_box_set_render | Build a box set or omnibus: every book of a box set in one ebook or print interior, saved on the box set's own format. Choose per-book or straight-through chapter numbers, which pages each book keeps, and whether About the author and Also by print once at the end or in each book. Asks first when the format has a file the author uploaded. Returns a jobId. |
| stos_publish_chapter_preview | See one chapter as it will print: pictures of its first pages with the format's theme, trim size and text settings. Returns a jobId; read the pictures with stos_publish_chapter_preview_get. Nothing in the book changes. |
| stos_publish_chapter_preview_get | Check a chapter preview and get links to its page pictures (they last an hour). |
| stos_publish_catalogue_render | Make new files for every title of a pen name, a few at a time so nothing times out: ebooks, and print interiors when asked. Returns the jobs started and where to carry on. Asks first when a format has a file the author uploaded. |
| stos_chapters_element_type_change | Change what something is without retyping it: make a chapter print as front or back matter or a part title page (or back in the body of the book), or turn a paragraph into a block quote, a heading, verse or a letter and back. The first call only asks; a second call with confirm: true saves the chapter as a version first, then changes only the formatting, never the words. |
| stos_chapters_find_replace | Find and replace words across a book's chapters. The first call changes nothing and lists every match for the author to check; only a second call with confirm: true makes the change, after saving each chapter as a "Before find and replace" version that can be put back. Link addresses and translations are left alone. |
| stos_publish_artifacts_list | List a title's saved publishing files, both made by Publishing Studio and uploaded by the author: the ones in use, or earlier ones that are still saved. Can include 24-hour download links. |
| stos_publish_artifacts_use | Choose which saved EPUB or Word file is used for a format when it is sent on or bundled, for example to switch back to an EPUB the author uploaded after a new render took its place. The file that was in use stays saved and can be chosen again. Print files aren't covered yet: an uploaded print interior or cover always stays saved in the file list, but switching back to it isn't available yet. |
| stos_publish_bundle | Build a download bundle for one retailer (KDP, IngramSpark, Lulu, Barnes & Noble Press, Draft2Digital, or everything): the files named the way that retailer expects, the book details, and an upload checklist. The author uploads them in the retailer's own dashboard. |
| stos_publish_print_options | Print retailers, trim sizes and paper options, the spine width and cover size for a given page count, and our ornament library for scene breaks and chapter headings. |
| stos_publish_layout_get | Read a book’s page art: chapter heading image, scene break ornament, backgrounds and fore-edge art, plus each chapter’s background choice. |
| stos_publish_layout_update | Change a book’s page art or one chapter’s background choice, including a scene break or heading ornament from our library, and swap parts of the book’s design. Every change is kept, so the last change can be undone. |
| stos_publish_style_part_set | Change one part of a book’s design, such as the chapter opening, the scene breaks or the contents page, and keep the rest of the theme. Every change is kept, so it can be undone. |
| stos_publish_images_list | List every image in a book’s chapters with how it prints (size, alignment, caption, its own page, chapter heading or ornament). |
| stos_publish_push | Send a format to Direct2Readers or to your Shopify store, as a draft unless the author asks to put it on sale. Always asks first: the first call sends nothing and returns a question describing exactly what would happen (a new draft, an update, or going on sale). On Direct2Readers, updating a book that is on sale without publishing takes it off sale until it is published again; the question says so. |
| stos_publish_pushes_list | History of what was sent to Direct2Readers or Shopify for a title or format, and whether each is a draft, on sale, or failed. |
Settings & utilities
Profile, AI provider configuration, Cowork connector listing, notifications.
| Tool | Description |
|---|---|
| stos_settings_profile_get | Get profile settings. |
| stos_settings_api_keys_get | List StorytellerOS API access-key metadata. Never returns plaintext secrets or key hashes. |
| stos_settings_ai_providers_get | Get AI provider connection flags and text/media defaults without returning plaintext keys. |
| stos_settings_ai_providers_update | Configure the built-in media provider account, AI enablement, and text/media defaults. |
| stos_oauth_clients_list | List the caller's Claude Cowork connector credential pairs (id, name, last_used_at, active flag). Plaintext secret never returned. |
| stos_notifications_list | List in-app notifications. |
| stos_notifications_mark_read | Mark a notification as read. |
Social Studio
Connected accounts, publishing, scheduling, campaigns, labels, notes, archive, analytics, Inbox, RSS, and account settings. Every operation can be scoped to a pen name. You need only the StorytellerOS connector.