Servidor MCP

Heista

co.heista/api

Qué hace este MCP

Analyzes video advertising, builds brand intelligence profiles, researches markets, and generates advertising scripts and creative concepts.

add_brand_asset
Add Brand Asset
Upload an image to a brand by URL. The pipeline downloads it, runs the vision tagger (classifies type, detects product name, flags is_primary_product), stores it in the brand-assets bucket, and inserts a brand_assets row. Paid (vision tag credit). If vision tagging fails, the asset is still saved with type=general and can be retried via retag_brand_asset.
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id', 'image_url'], 'properties': {'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to add the asset to. Get from list_brands.'}, 'image_url': {'type': 'string', 'format': 'uri', 'description': 'Public HTTPS URL to fetch. The pipeline downloads, vision-tags, stores in the brand-assets bucket, and inserts a row.'}}}
adformula_intelligence
Ad Formula Intelligence
Browse proven ad formula blueprints — structural patterns clustered from 3-10+ winning ads that independently converged on the same beat architecture while Meta kept rewarding them with sustained spend. Takes optional filters: vertical, creative_format (e.g. TALKING_HEAD, UGC, FOUNDER_STORY), marketing_angle, algo_intent, hook_type, and limit (1-10, default 5). Each formula returns: source ad count, average active days (runtime proof), confidence score, 6-layer beat blueprint, per-beat visual direction, marketing angle, psychology mission. Free, read-only, idempotent. Use this when the user asks "what's working in [category]", "show me formulas for talking-head ads", "what scripts work in my vertical", or wants category-level pattern discovery before committing to a single ad. Pass the returned formula id to generate_adscript with source_type="formula" for synthesis. When choosing among results: prioritise (1) avg_active_days as primary proof, (2) marketing_angle alignment with the brand's buyer tension, (3) source_ad_count for cluster robustness, (4) confidence_score as tiebreaker. Do NOT use when the user names a specific ad — decode that ad with decode_ad. Do NOT use for sentence-level transcript fidelity — formulas abstract the structure, not exact copy.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 10, 'minimum': 1, 'description': 'Max formulas to return (1-10, default 5).'}, 'vertical': {'type': 'string', 'description': 'Industry vertical to filter formulas. Examples: BEAUTY_SKINCARE, HEALTH_SUPPLEMENTS, FITNESS, FOOD_BEVERAGE, FASHION_APPAREL, SAAS_SOFTWARE, FINANCE_FINTECH, INFO_PRODUCTS, TECH_GADGETS. Omit for all verticals.'}, 'hook_type': {'type': 'string', 'description': 'Filter by opening hook subtype. Examples: CURIOSITY_SPIKE, IDENTITY_HOOK, CONTRADICTION_HOOK, DIRECT_QUESTION_HOOK, PAST_SELF_OPEN, DATA_POINT_START, PROVOCATION. Omit for all hook types.'}, 'algo_intent': {'type': 'string', 'description': 'Structural engine to filter by. Examples: PROBLEM_AGITATE_SOLVE, MECHANISM_REVEAL, TRANSFORMATION_ARC, SOCIAL_PROOF_STACK, COMPARISON_CONTRAST, URGENCY_SCARCITY. Omit for all intents.'}, 'creative_format': {'type': 'string', 'description': 'Creative format to filter by. Examples: TALKING_HEAD_BROLL, VOICEOVER_BROLL, UGC_TESTIMONIAL, PRODUCT_DEMO, SLIDESHOW_OVERLAY, INFLUENCER. Omit for all formats.'}, 'marketing_angle': {'type': 'string', 'description': 'Marketing angle to filter by. Examples: PROBLEM_SOLUTION, SOCIAL_PROOF_RESULTS, HOW_TO_TUTORIAL, INGREDIENT_SCIENCE, ASPIRATIONAL_IDENTITY, VALUE_STACK. Omit for all angles.'}}}
call_creative_agent_preset
Call Creative Agent
Invoke a Creative Agent (character) preset. Every preset is a purpose-built character the workspace has authored or the Heista catalog has published — copy voice, art direction, strategy, creative direction, etc. ONE-SHOT: give the character a message, get its response back as text. Discover callable presets via list_creative_agent_presets. Workspace-authored presets are only callable inside their owning org; official templates (visibility=public_template) are callable from any authenticated org. INPUTS: agent_id (UUID from list_creative_agent_presets), message (the turn text), optional brand_id (server-loads multi-strategy brand summary for character context), optional working_context (light labels the character reads as IN SCOPE — pinned brand + strategies + documents + playbook), optional thread_id (continuity id), optional idempotency_key (5-minute retry safety). Returns the character's response as plain text plus a structured envelope with usage, model, provider, thread_id. Metered — cost depends on character model + context size, typically 2-10 credits per turn. Charged after success on real token usage.
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['agent_id', 'message'], 'properties': {'message': {'type': 'string', 'maxLength': 4000, 'minLength': 1, 'description': 'The user turn â\x80\x94 the message the caller wants the character to respond to. One-shot; not persisted as a conversation history unless the caller supplies thread_id continuity.'}, 'agent_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'The Creative Agent preset id to call. Discover ids via list_creative_agent_presets. Workspace-authored agents are only callable from within the owning org; official templates (visibility=public_template) are callable from any org.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': "Optional Heista brand id (a.k.a. brief id). When provided, the runtime server-loads the multi-strategy brand summary via `loadMultiBrandContext` and injects it into the agent's system prompt as BRAND INTELLIGENCE. RLS-scoped read â\x80\x94 a brand outside the caller's workspace resolves to no summary (silent fall-through)."}, 'thread_id': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Optional continuity id round-tripped on the response. Callers manage their own thread state â\x80\x94 the runtime does NOT persist history for library calls (chat surface uses its own session table).'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats within 5 minutes, the cached response returns without re-charging.'}, 'working_context': {'type': 'object', 'properties': {'brand': {'anyOf': [{'type': 'object', 'required': ['id', 'name'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'name': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'logo_url': {'anyOf': [{'type': 'string', 'format': 'uri', 'maxLength': 2000}, {'type': 'null'}]}}}, {'type': 'null'}]}, 'documents': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'title'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'title': {'type': 'string', 'maxLength': 300, 'minLength': 1}}}, 'maxItems': 20}, 'strategies': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'title'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'title': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'offer_name': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}]}, 'product_name': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}]}, 'is_product_page': {'type': 'boolean'}}}, 'maxItems': 10}, 'loadedPlaybook': {'anyOf': [{'type': 'object', 'required': ['id', 'name'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'name': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'imageUrl': {'anyOf': [{'type': 'string', 'format': 'uri', 'maxLength': 2000}, {'type': 'null'}]}}}, {'type': 'null'}]}}, 'description': "Optional Working Context labels â\x80\x94 brand pin, pinned strategies, pinned documents, loaded playbook. Rendered into the agent's system prompt as an IN SCOPE bullet block so the agent knows what the workspace has pinned. IDs must reference workspace-owned rows. For deeper brand intelligence, pass `brand_id` (server-resolved)."}}}
call_creative_worlds
Call Creative Worlds
Heista's creative direction engine — same engine the Creative Director specialist runs internally, exposed over MCP. ONE-SHOT: give a brief, get N finished creative outputs. For back-and-forth refinement, or output shapes the `medium` enum below does not cover, use chat_with_creative_worlds instead. OUTPUT SHAPE switches on the `medium` arg: • omitted → N territory cards (default exploration). Each card sits on different psychology / craft / feel / world axis coordinates so the set spans the creative space rather than orbiting one insight. Card has: name, campaign line, 5-8 sentence pitch, one-sentence strategic bet, resolved axis state names, creative-director rationale. • `tvc` → N TVC scripts (15-90s — hook, arc, resolve, sound design, end line). • `billboard` / `ooh` / `print` → N out-of-home concepts (visual concept + line + placement rationale). • `social` → N social-video concepts (hook + format type + middle beat + payoff, optimised for Reels / TikTok / Shorts). • `activation` / `experiential` → N activation concepts (space design + user journey + peak moment + takeaway artifact). • `audio` → N sonic / radio concepts (sonic scene + voice + audio arc). • `campaign` → N full campaign platforms (insight → big idea → strategy → visual world → production roadmap). The engine can also produce manifesto / copy, naming, packaging, PR stunts, content series, brand positioning, partnerships — these output shapes are NOT in the medium enum, so use chat_with_creative_worlds when the user wants one of those. USE WHEN: user says "give me ideas / options / directions / territories", "what angles work for...", "show me three / five ways to...", "write a TVC for...", "draft billboard concepts for...", "I need fresh thinking on...". DO NOT USE to refine one existing direction (use chat tool), to critique work, for OKRs / internal docs / strategy decks, or anything outside advertising creative direction. INPUTS: brief (the creative problem, free text), count (2-6 concepts), optional brand_id (from list_brands or any create_powersource_* — when provided the engine grounds output in the brand's buyer tensions, voice, and selling points), optional medium (above), optional lens_hint (apply a playbook or signature move as a creative constraint), idempotency_key (safely retryable for 5 minutes). Returns the finished creative output as narrative text PLUS a structured array of resolved axis coordinates for programmatic use. Metered — typically 3-15 credits per call depending on count and brand context size. Charged after success on actual token usage.
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brief', 'count'], 'properties': {'brief': {'type': 'string', 'maxLength': 2000, 'minLength': 1, 'description': 'The creative brief â\x80\x94 what you want territory directions for. One sentence or short paragraph. Example: "Hero campaign for a sparkling water brand launching in Australia, positioned against soft drink as the everyday adult alternative".'}, 'count': {'type': 'integer', 'maximum': 6, 'minimum': 2, 'description': 'How many distinct creative territories to generate. Each will sit on different axis coordinates from the others â\x80\x94 different psychology, different feel, different world. 2-6.'}, 'medium': {'enum': ['tvc', 'billboard', 'ooh', 'activation', 'experiential', 'social', 'campaign', 'print', 'audio'], 'type': 'string', 'description': 'Optional medium â\x80\x94 switches the output shape. Omit â\x86\x92 territory cards (default exploration). `tvc` â\x86\x92 TVC scripts (hook + arc + resolve + sound + end line). `billboard` / `ooh` / `print` â\x86\x92 out-of-home concepts (visual + line + placement). `social` â\x86\x92 Reels / TikTok / Shorts concepts. `activation` / `experiential` â\x86\x92 activation concepts (space + journey + peak moment + takeaway). `audio` â\x86\x92 sonic / radio concepts. `campaign` â\x86\x92 full campaign platforms (insight â\x86\x92 big idea â\x86\x92 strategy â\x86\x92 visual world â\x86\x92 production roadmap). See the tool description for the full per-shape spec.'}, 'brand_id': {'type': 'string', 'maxLength': 128, 'minLength': 1, 'description': 'Optional Heista brand id (a.k.a. brief id) to ground the territories in. Get from list_brands or any create_powersource_* call. When provided, the engine pulls the brand intelligence (buyer tensions, voice, selling points) and uses it as the entry point into psychology axes. Omit for an unbranded creative exploration.'}, 'lens_hint': {'type': 'object', 'required': ['name', 'mechanism'], 'properties': {'name': {'type': 'string', 'maxLength': 200, 'description': 'The lens / playbook name (e.g. "Quiet Authority").'}, 'mechanism': {'type': 'string', 'maxLength': 1000, 'description': 'One-paragraph description of how the lens works â\x80\x94 its psychological engine.'}, 'constraints': {'type': 'array', 'items': {'type': 'string', 'maxLength': 200}, 'maxItems': 8, 'description': 'Optional list of constraints the lens enforces (e.g. ["never use celebrity endorsement", "always feature the product hero"]).'}}, 'description': 'Optional creative lens to constrain the direction. Applied throughout the ideation as a creative constraint. Use when an agent has already picked a playbook or signature move and wants territories under that lens.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats within 5 minutes, the original result is returned without re-charging.'}}}
chat_with_creative_worlds
Chat with Creative Worlds
Multi-turn conversation with Heista's creative direction engine — a real chat where the agent decides each turn what to produce based on what you ask for. Use whenever the work needs more than one round, OR when you want an output shape not covered by call_creative_worlds' `medium` enum. WHAT YOU CAN ASK FOR (any of these, turn 1 or any turn after): • Territories — "give me five directions for X", "what angles work here" • A TVC script — "write a 30-second TVC for Cowboys" • Billboard concepts — "three billboards under a quiet-authority lens" • A campaign platform — "build #2 into a full campaign with the big idea" • A manifesto or copy — "draft the manifesto in the brand voice" • Naming — "name this product, five options with rationale" • A PR stunt — "what's the newsworthy version of this" • A content series — "20 episode ideas for a brand podcast" • Packaging, sonic branding, partnerships, social systems • Refinement — "make #2 darker", "extend that into a tagline", "summarise" • Pivots — "forget the soft-drink angle, try the late-night insomnia one" SESSION: omit session_id on turn 1; the response returns a fresh session_id you pass on every subsequent turn — that is how the conversation persists. brand_id is only honoured on turn 1 of a new session (continuing sessions keep their original brand context). USE WHEN: user wants back-and-forth, OR wants an output shape outside the medium enum (manifesto, naming, press release, content series, packaging, etc.). Prefer call_creative_worlds when the user wants "three options, done" with no follow-up. WON'T DO: write OKRs / internal docs / strategy decks; behave as a general assistant. It is a creative director with creative-director taste — anti-cliché, specificity test, will push back on vague briefs. Metered — typically 2-10 credits per turn depending on tool use and context size. Charged after each turn on actual token usage.
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message'], 'properties': {'message': {'type': 'string', 'maxLength': 4000, 'minLength': 1, 'description': 'The principal\'s message to the Creative Worlds specialist. First turn: a brief or open question. Subsequent turns: refinement ("make #2 darker"), filtering ("summarise that"), extension ("build a tagline off it").'}, 'brand_id': {'type': 'string', 'maxLength': 128, 'minLength': 1, 'description': 'Optional Heista brand_id to ground the conversation in. Only honoured on the first turn of a new session (continuing sessions keep their original brand context).'}, 'session_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Pass the session_id returned from a previous chat_with_creative_worlds call to continue that conversation. Omit to start a new session â\x80\x94 the response will include a fresh session_id you should pass on every subsequent turn.'}}}
check_balance
Check Balance
Check the calling user's Heista API credit balance, month-to-date usage broken down by operation, lifetime spend, and the current pricing for every paid tool. Takes no inputs. Returns balance in cents, lifetime spend in cents, month-to-date call counts per tool (decode_ad, create_powersource_*, generate_adscript), per-tool unit pricing, and a top-up link the user can follow to add credits. Free, read-only, idempotent. Use this whenever the user asks about credits, balance, usage, how much they've spent, top-ups, pricing, "what does this cost", or "how many credits do I have". This is also the ONLY surface where dollar amounts are legitimate to report in conversation — everywhere else, cost should be referenced in credits, not currency. Do NOT use to add credits or change billing — only to read state. Do NOT call this on every turn — invoke once when the user explicitly asks about account state.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
create_powersource_docs
Create PowerSource from Documents
Build a complete creative intelligence profile from internal brand documents — creative briefs, brand guidelines, product specs, customer research, competitive analysis. Takes any mix of file_ids (from a previous upload), document_urls (public PDF/DOCX/TXT/MD links, up to 10), or documents_inline (base64-encoded files with filename), plus an optional context_url for layering live brand context (colors, fonts, current messaging) and optional idempotency_key. Returns a job_id; poll with get_powersource. Output shape is identical to create_powersource_url: identity, offer, selling points, voice, buyer profile, tensions, angles, emotional arcs, ctas, narrative. Use this when the user says "I have a brief", "here's my brand guidelines", "use this document", drops a PDF / DOCX / strategy deck, or when the truth lives in internal materials rather than the public website. The pipeline reads text only — convert PDFs to markdown before submitting via documents_inline when possible. Costs 100 credits. Do NOT use for URL-only scans — use create_powersource_url. For URL + docs combined (highest fidelity, triangulates public messaging against internal strategy), use create_powersource_full.
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional Brand to attach this scan to. Get from list_brands. When omitted, the pipeline auto-resolves a brand by the context_url domain (if provided) or creates a standalone scan with no brand link.'}, 'file_ids': {'type': 'array', 'items': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'maxItems': 10, 'description': 'Array of file IDs from a previous upload. Up to 10 files.'}, 'context_url': {'type': 'string', 'description': 'Optional website URL to layer live brand context on top of the documents (colors, fonts, current messaging).'}, 'document_urls': {'type': 'array', 'items': {'type': 'string', 'format': 'uri'}, 'maxItems': 10, 'description': 'Array of public URLs pointing to documents (PDF, DOCX, TXT, MD). Up to 10 URLs.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats, the original result is returned without re-charging.'}, 'documents_inline': {'type': 'array', 'items': {'type': 'object', 'required': ['filename', 'content_base64'], 'properties': {'filename': {'type': 'string', 'description': 'Filename with extension (e.g., "brand-brief.md"). Use .md or .txt â\x80\x94 the pipeline reads text only.'}, 'content_base64': {'type': 'string', 'description': 'Base64-encoded file content. Max 5MB per file.'}}}, 'maxItems': 10, 'description': 'Inline documents as base64. Use when the user has uploaded a file into chat and no public URL exists. IMPORTANT: The synthesis pipeline reads TEXT ONLY â\x80\x94 it ignores images, diagrams, and visual layout. For any PDF or DOCX the user drops into chat: (1) read the file using your file-reading tools, (2) extract the text content preserving section headers and structure, (3) save as a clean .md or .txt file, (4) base64-encode the text file and submit here. Do NOT base64-encode the original PDF â\x80\x94 extract text first. This keeps payloads small (a 50-page brief extracts to ~50KB of text vs 5MB of PDF) and produces better results because the pipeline gets clean structured text instead of OCR-extracted noise from embedded images. Max 5MB per file, 10 files total across all input types.'}}}
create_powersource_full
Create PowerSource Full (URL + Documents)
Build the highest-fidelity creative intelligence profile by combining a brand's public website URL with their internal documents. Takes a required website URL plus at least one document — file_ids from previous upload, public document_urls (PDF/DOCX/TXT/MD, up to 10), or documents_inline (base64-encoded). Optional idempotency_key for safe retry. Returns a job_id; poll with get_powersource. Same response shape as create_powersource_url, but the synthesis cross-checks how the brand presents publicly against what the team actually believes internally, producing stronger conviction on voice, positioning, proof, and tension architecture than either input alone. Use this when the user has both a public site AND a brief / brand guidelines / strategy deck and wants the deepest possible profile — the kind of intelligence a senior strategist produces over a week. Default recommendation when both inputs are available. Costs 200 credits. Do NOT use for URL-only scans — use create_powersource_url (100 credits). Do NOT use for docs-only scans — use create_powersource_docs (100 credits).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'minLength': 1, 'description': 'Website URL to analyze. Supports any public website. REQUIRED.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional Brand to attach this scan to. Get from list_brands. When omitted, the pipeline auto-resolves a brand by the URL domain (creating one if needed).'}, 'file_ids': {'type': 'array', 'items': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'maxItems': 10, 'description': 'Array of file IDs from a previous upload. Up to 10 files.'}, 'document_urls': {'type': 'array', 'items': {'type': 'string', 'format': 'uri'}, 'maxItems': 10, 'description': 'Array of public URLs pointing to documents (PDF, DOCX, TXT, MD). Up to 10 URLs.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable.'}, 'documents_inline': {'type': 'array', 'items': {'type': 'object', 'required': ['filename', 'content_base64'], 'properties': {'filename': {'type': 'string', 'description': 'Filename with extension. Use .md or .txt â\x80\x94 the pipeline reads text only.'}, 'content_base64': {'type': 'string', 'description': 'Base64-encoded file content. Max 5MB per file.'}}}, 'maxItems': 10, 'description': 'Inline documents as base64. The pipeline reads TEXT ONLY â\x80\x94 for any PDF or DOCX, extract the text content first using your file-reading tools, save as .md or .txt, then base64-encode and submit here. Supported formats: PDF, DOCX, TXT, MD. Max 5MB per file.'}}}
create_powersource_url
Create PowerSource from URL
Build a complete creative intelligence profile of a brand from a single website URL. Takes a website URL (homepage, PDP, landing page) plus optional idempotency_key, force_refresh, and webhook_url. Returns a job_id immediately; poll with get_powersource every 3-5s (typically 60-90s total). The final payload contains 14 structured sections: identity, offer, selling_points, brand_story, brand_style, brand_assets, brand_voice, buyer_profile, 12 buyer tensions, marketing angles, emotional_arcs, ctas, proof_assets, and strategic narrative. Use this when the user says "analyse my brand", "load my brand", "build a strategy from my site", "what should my ads say", "decode this website", or pastes a homepage / competitor URL and wants a brand profile (not an ad decode). Also use this as the brand layer before calling generate_adscript — pass the returned powersource_id. Costs 100 credits. Re-scanning the same URL within your org returns the cached result free. Do NOT use for internal docs / PDFs / brand guidelines — use create_powersource_docs. For URL + docs combined (highest fidelity), use create_powersource_full. Do NOT use to decode a video ad — use decode_ad.
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'Website URL to analyze. Supports any public website (e.g., gymshark.com, notion.so). Bare domains auto-resolve to https.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional Brand to attach this scan to. Get from list_brands. When omitted, the pipeline auto-resolves a brand by the scanned domain (creating one if needed) â\x80\x94 the addendum D6 default. Pass this when you have an existing brand_id (e.g. from a prior list_brands call) and want to guarantee linkage rather than relying on domain match.'}, 'webhook_url': {'type': 'string', 'format': 'uri', 'description': 'HTTPS URL to receive a POST notification when the scan completes or fails. Eliminates need for polling.'}, 'force_refresh': {'type': 'boolean', 'description': 'Force re-extraction of brand data even if cached. Use when a brand has rebranded or updated their website.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats, the original result is returned without re-charging.'}}}
creative_delete_draft
Creative Library — Delete Draft
Permanently delete a Creative Library draft that has NEVER been published. Refused for any article with publication history — use creative_unpublish_article to take a live page down instead, which keeps the draft. Use this only to clear test or abandoned drafts.
Destructivo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf', 'slug'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The draft slug.'}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'The draft shelf.'}}}
creative_get_authoring_contract
Creative Library — Get Authoring Contract
Read the canonical shelves, taxonomy, relationship Lego, safe content rules, and positional slots for every publishable Creative Library format. Call this before authoring.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
creative_get_draft
Creative Library — Get Draft
Read one Creative Library draft so it can be reviewed before explicit publication.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf', 'slug'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The article slug.'}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'One canonical Creative Library shelf.'}}}
creative_get_shelf
Creative Library — Get Shelf Hub
Read one shelf hub as an object: its public URL, what it covers, what it deliberately does NOT cover (and which shelf owns each of those instead), and every article on it with status and live URL. Use it to check placement before drafting.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf'], 'properties': {'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'One canonical Creative Library shelf.'}}}
creative_list_articles
Creative Library — List Articles
List Creative Library drafts and publication state. Returns editorial metadata only, not customer data.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'default': 50, 'maximum': 100, 'minimum': 1, 'description': 'Page size, from 1 to 100.'}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Zero-based page offset.'}}}
creative_publish_article
Creative Library — Publish Article
Publish only the exact reviewed draft revision. If the draft changed after review, publication fails and the new revision must be reviewed.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf', 'slug', 'expected_revision'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The reviewed draft slug.'}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'The reviewed draft shelf.'}, 'expected_revision': {'type': 'string', 'pattern': '^[a-f0-9]{64}$', 'description': 'The exact revision returned by creative_get_draft after human review.'}}}
creative_save_draft
Creative Library — Save Draft
Validate and save a complete Creative Library draft using the canonical taxonomy and format-specific content slots. An identical retry is a no-op. It cannot replace published content or publish a page.
Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['frontmatter', 'content'], 'properties': {'content': {'oneOf': [{'type': 'object', 'required': ['format', 'body'], 'properties': {'body': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'article'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'intro'], 'properties': {'intro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'outro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'workflow'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'body'], 'properties': {'body': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'trend'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'intro'], 'properties': {'intro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'outro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'resource'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'blocks'], 'properties': {'blocks': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'beat'], 'properties': {'beat': {'enum': ['context', 'challenge', 'move', 'whyItWorked', 'whatToSteal'], 'type': 'string'}, 'type': {'type': 'string', 'const': 'beat'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string', 'const': 'pull-stat'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type'], 'properties': {'type': {'type': 'string', 'const': 'before-after'}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 5}, 'format': {'type': 'string', 'const': 'case-study'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'intro'], 'properties': {'intro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'playbook'}, 'closing': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'playsIntro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'sequenceIntro': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'body'], 'properties': {'body': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'model-guide'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['format', 'body'], 'properties': {'body': {'type': 'array', 'items': {'oneOf': [{'type': 'object', 'required': ['type', 'markdown'], 'properties': {'type': {'type': 'string', 'const': 'markdown'}, 'markdown': {'type': 'string', 'maxLength': 200000, 'minLength': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['type', 'eyebrow', 'title', 'description', 'href'], 'properties': {'cta': {'type': 'string', 'maxLength': 80, 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'type': {'type': 'string', 'const': 'callout'}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'eyebrow': {'type': 'string', 'maxLength': 100, 'minLength': 1}, 'description': {'type': 'string', 'maxLength': 500, 'minLength': 1}}, 'additionalProperties': False}]}, 'maxItems': 100, 'minItems': 1}, 'format': {'type': 'string', 'const': 'comparison'}}, 'additionalProperties': False}]}, 'frontmatter': {'oneOf': [{'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'article'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'workflow'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'workflow'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'workflow': {'type': 'object', 'required': ['whatYouNeed', 'timeToComplete', 'steps', 'outcome'], 'properties': {'steps': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'body'], 'properties': {'tip': {'type': 'string'}, 'body': {'type': 'string', 'minLength': 1}, 'title': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'outcome': {'type': 'string', 'minLength': 1}, 'whatYouNeed': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'totalTimeIso': {'type': 'string', 'pattern': '^P'}, 'timeToComplete': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'trend'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'trend': {'type': 'object', 'required': ['signals', 'whatToDoNow'], 'properties': {'signals': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'whatChanged', 'whyItMatters'], 'properties': {'title': {'type': 'string', 'minLength': 1}, 'whatChanged': {'type': 'string', 'minLength': 1}, 'whyItMatters': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'whatToDoNow': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'signalsHeading': {'type': 'string'}, 'whatToDoNowHeading': {'type': 'string'}}, 'additionalProperties': False}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'trend'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'resource'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'resource'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'resource': {'type': 'object', 'required': ['howToUse', 'checklists'], 'properties': {'howToUse': {'type': 'object', 'required': ['steps'], 'properties': {'steps': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'title': {'type': 'string'}}, 'additionalProperties': False}, 'freeTools': {'type': 'object', 'properties': {'label': {'type': 'string'}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'checklists': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'items'], 'properties': {'items': {'type': 'array', 'items': {'type': 'object', 'required': ['text'], 'properties': {'text': {'type': 'string', 'minLength': 1}, 'detail': {'type': 'string'}}, 'additionalProperties': False}, 'minItems': 1}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string'}, 'numbered': {'type': 'boolean'}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'minItems': 1}}, 'additionalProperties': False}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'caseStudy'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'case-study'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'caseStudy': {'type': 'object', 'required': ['beats'], 'properties': {'beats': {'type': 'object', 'required': ['context', 'challenge', 'move', 'whyItWorked', 'whatToSteal'], 'properties': {'move': {'type': 'string', 'minLength': 1}, 'context': {'type': 'string', 'minLength': 1}, 'challenge': {'type': 'string', 'minLength': 1}, 'whatToSteal': {'type': 'string', 'minLength': 1}, 'whyItWorked': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'pullStat': {'type': 'object', 'required': ['value', 'label'], 'properties': {'label': {'type': 'string', 'minLength': 1}, 'value': {'type': 'string', 'minLength': 1}, 'caveat': {'type': 'string'}}, 'additionalProperties': False}, 'beforeAfter': {'type': 'object', 'required': ['before', 'after'], 'properties': {'after': {'type': 'object', 'required': ['label', 'description'], 'properties': {'label': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'before': {'type': 'object', 'required': ['label', 'description'], 'properties': {'label': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'playbook'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'playbook'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'playbook': {'type': 'object', 'required': ['plays'], 'properties': {'plays': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'when', 'how'], 'properties': {'how': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'why': {'type': 'string'}, 'name': {'type': 'string', 'minLength': 1}, 'when': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'minItems': 1}}, 'additionalProperties': False}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'modelGuide'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'model-guide'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'modelGuide': {'type': 'object', 'required': ['spec', 'useWhen'], 'properties': {'spec': {'type': 'object', 'required': ['name', 'bestFor', 'strengths', 'limits', 'inputs', 'outputs', 'costInCredits', 'whenToUse'], 'properties': {'name': {'type': 'string', 'minLength': 1}, 'inputs': {'type': 'string', 'minLength': 1}, 'limits': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'bestFor': {'type': 'string', 'minLength': 1}, 'outputs': {'type': 'string', 'minLength': 1}, 'strengths': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}, 'whenToUse': {'type': 'string', 'minLength': 1}, 'costInCredits': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'useWhen': {'type': 'object', 'required': ['reachFor'], 'properties': {'skip': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'reachFor': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'minItems': 1}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}, {'type': 'object', 'required': ['library', 'title', 'slug', 'summary', 'published', 'status', 'shelf', 'audience', 'stage', 'format', 'comparison'], 'properties': {'faq': {'type': 'array', 'items': {'type': 'object', 'required': ['q', 'a'], 'properties': {'a': {'type': 'string', 'minLength': 1}, 'q': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'hero': {'type': 'object', 'required': ['eyebrow', 'title', 'description', 'href', 'cta'], 'properties': {'cta': {'type': 'string', 'minLength': 1}, 'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'eyebrow': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'score': {'type': 'object', 'required': ['demand', 'winnability', 'evidence', 'revenue', 'citeability', 'total'], 'properties': {'total': {'type': 'integer', 'maximum': 100, 'minimum': 0}, 'demand': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'revenue': {'type': 'integer', 'maximum': 15, 'minimum': 0}, 'evidence': {'type': 'integer', 'maximum': 20, 'minimum': 0}, 'citeability': {'type': 'integer', 'maximum': 10, 'minimum': 0}, 'winnability': {'type': 'integer', 'maximum': 25, 'minimum': 0}}, 'additionalProperties': False}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string'}, 'stage': {'type': 'array', 'items': {'enum': ['strategy', 'positioning', 'ideas', 'brief', 'copy', 'art-direction', 'production', 'talent', 'testing'], 'type': 'string'}, 'minItems': 1}, 'title': {'type': 'string', 'maxLength': 160, 'minLength': 1}, 'author': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'format': {'type': 'string', 'const': 'comparison'}, 'images': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'src', 'alt'], 'properties': {'id': {'type': 'string', 'minLength': 1}, 'alt': {'type': 'string', 'minLength': 1}, 'src': {'type': 'string'}, 'aspect': {'enum': ['16/9', '3/2', '4/3', '1/1', '3/4'], 'type': 'string'}, 'caption': {'type': 'string'}, 'variant': {'enum': ['banner', 'figure', 'grid'], 'type': 'string', 'default': 'figure'}}, 'additionalProperties': False}}, 'intent': {'enum': ['learn', 'do', 'compare'], 'type': 'string'}, 'status': {'enum': ['draft', 'published'], 'type': 'string'}, 'channel': {'type': 'array', 'items': {'enum': ['digital', 'paid-social', 'organic-social', 'ecommerce-pdp', 'email', 'web-landing', 'video', 'ooh-print', 'experiential', 'brand-experiences', 'integrated'], 'type': 'string'}}, 'library': {'type': 'string', 'const': 'creative'}, 'related': {'type': 'array', 'items': {'type': 'object', 'required': ['title', 'href'], 'properties': {'href': {'type': 'string', 'pattern': '^\\/(?!\\/)\\S*$'}, 'title': {'type': 'string', 'minLength': 1}, 'kicker': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}, 'sources': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'href'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'href': {'type': 'string', 'pattern': '^https:\\/\\/\\S+$'}, 'label': {'type': 'string', 'maxLength': 200, 'minLength': 1}, 'publisher': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'summary': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'updated': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'audience': {'type': 'array', 'items': {'enum': ['d2c-brands', 'brands', 'ecommerce', 'agencies', 'creators', 'performance-marketers', 'creative-directors', 'founders', 'freelancers-consultants'], 'type': 'string'}, 'minItems': 1}, 'modelTest': {'type': 'object', 'required': ['model', 'versionOrDate', 'whatWeTested'], 'properties': {'model': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'whatWeTested': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'versionOrDate': {'type': 'string', 'maxLength': 60, 'minLength': 1}}, 'additionalProperties': False}, 'published': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'takeaways': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'aiAssisted': {'type': 'boolean'}, 'comparison': {'type': 'object', 'required': ['options', 'rows', 'verdict'], 'properties': {'rows': {'type': 'array', 'items': {'type': 'object', 'required': ['criterion', 'values'], 'properties': {'values': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': 'string', 'minLength': 1}}, 'criterion': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'options': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'label'], 'properties': {'id': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}, 'label': {'type': 'string', 'minLength': 1}, 'description': {'type': 'string'}}, 'additionalProperties': False}, 'minItems': 2}, 'verdict': {'type': 'object', 'required': ['items'], 'properties': {'intro': {'type': 'string'}, 'items': {'type': 'array', 'items': {'type': 'object', 'required': ['optionLabel', 'when'], 'properties': {'when': {'type': 'string', 'minLength': 1}, 'optionLabel': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}, 'minItems': 1}, 'heading': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'reviewedBy': {'type': 'object', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1}, 'role': {'type': 'string', 'maxLength': 120, 'minLength': 1}}, 'additionalProperties': False}, 'corrections': {'type': 'array', 'items': {'type': 'object', 'required': ['date', 'note'], 'properties': {'date': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'note': {'type': 'string', 'maxLength': 600, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 50}, 'methodology': {'type': 'string', 'maxLength': 1200, 'minLength': 1}, 'pointOfView': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'lastVerified': {'type': 'string', 'format': 'date', 'pattern': '^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$'}, 'relatedTools': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedHeists': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPreset': {'type': 'object', 'required': ['tab'], 'properties': {'tab': {'enum': ['visuals', 'styles', 'models', 'outfits'], 'type': 'string'}, 'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'additionalProperties': False}, 'searchQueries': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}, 'successMetric': {'type': 'string', 'maxLength': 400, 'minLength': 1}, 'evidencePacket': {'type': 'object', 'properties': {'job': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'query': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'reader': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'serpFailure': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'datedSources': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}, 'originalHeistaFact': {'type': 'string', 'maxLength': 600, 'minLength': 1}, 'claimsNeedingAHuman': {'type': 'array', 'items': {'type': 'string', 'maxLength': 300, 'minLength': 1}, 'maxItems': 30}}, 'additionalProperties': False}, 'relatedContent': {'type': 'array', 'items': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1}}, 'relatedPresets': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}}}, 'additionalProperties': False}]}}}
creative_unpublish_article
Creative Library — Unpublish Article
Take a live Creative Library article down. It stops being public and leaves the sitemap immediately. The draft is preserved and can be re-published after review. Use this to reverse a publication.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf', 'slug'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The live article slug.'}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'The live article shelf.'}}}
creative_update_slug
Creative Library — Rename Slug
Change an article slug and 301 the old URL at the new one. Never leaves two live URLs. Refuses a new slug ending in a year, a slug already in use, and any article whose draft is ahead of what is published (renaming republishes). Use this instead of saving a second article under a new slug.
Destructivo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['shelf', 'slug', 'new_slug'], 'properties': {'slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The current slug.'}, 'shelf': {'enum': ['strategy', 'brand', 'ideas', 'copy', 'art-direction', 'product-photography', 'campaign-photography', 'creative-production', 'talent-styling', 'ai'], 'type': 'string', 'description': 'The article shelf. Slug changes do not move shelves.'}, 'new_slug': {'type': 'string', 'pattern': '^[a-z0-9]+(?:-[a-z0-9]+)*$', 'maxLength': 160, 'minLength': 1, 'description': 'The new slug. Must not end in a year.'}}}
decode_ad
Decode Video Ad
Decode a specific video ad URL into its full structural formula — beat-by-beat breakdown, hook classification, behavioral psychology stack, creative format, runtime performance signals (active days on Meta Ad Library when available), and per-cut visual data. Takes one video URL plus an optional idempotency_key. Returns a job_id immediately; poll with get_decode every 15s until status is "completed" (typically 45-60s end-to-end). Use this when the user pastes an ad URL, names a specific competitor ad, asks "decode this" or "break down this ad" or "what makes this ad work", or wants sentence-level fidelity to one specific winner before writing a script with generate_adscript. Supports Facebook Ad Library, TikTok, Instagram Reels, YouTube Shorts, and direct .mp4 URLs. Costs 15 credits for videos ≤60s, 20 credits for 61-120s. Do NOT use to browse the corpus or find ads by category — use decoder_intelligence or adformula_intelligence (both free) for discovery. Do NOT use for image ads or static creative.
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'description': 'Video URL to decode. Supports: Facebook Ad Library, TikTok, Instagram Reels, YouTube Shorts, or direct .mp4 URL.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats, the original result is returned without re-charging.'}}}
decoder_intelligence
Decoder Intelligence
Browse individual decoded ads from Heista's corpus of real winning Meta/TikTok creative. Takes optional filters: vertical, creative_format, marketing_angle, hook_type, algo_intent, brand (partial name match), and limit (1-10, default 5). Each result returns beat timeline, classification, psychology, runtime performance signals (active days on Meta when available), and a decode id you can pass into generate_adscript with source_type="decode" to write a fresh script on that exact structure. Free, read-only, idempotent — no credits consumed. Use this when the user wants a specific ad as a script template (not an averaged formula), asks "show me winning ads in [vertical]", "what are [brand]'s top ads", or wants to see examples before committing to a generation. Source discovery surface — the response is the spine; for the full bundle with transcripts and director's read, call get_decode by id afterwards. Do NOT use to decode a NEW ad from a URL — use decode_ad (paid). Do NOT use for category-level patterns abstracted across multiple ads — use adformula_intelligence. Do NOT use to write the script itself — use generate_adscript or write directly from the bundle.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'brand': {'type': 'string', 'maxLength': 100, 'description': 'Filter by brand name (case-insensitive partial match). Examples: "Gymshark", "AG1", "Huel". Omit for all brands.'}, 'limit': {'type': 'integer', 'maximum': 10, 'minimum': 1, 'description': 'Max decoded ads to return (1-10, default 5).'}, 'vertical': {'type': 'string', 'description': 'Industry vertical to filter decoded ads. Examples: BEAUTY_SKINCARE, HEALTH_SUPPLEMENTS, FITNESS, FOOD_BEVERAGE, FASHION_APPAREL, SAAS_SOFTWARE, FINANCE_FINTECH, INFO_PRODUCTS, TECH_GADGETS. Omit for all verticals.'}, 'hook_type': {'type': 'string', 'description': 'Filter by opening hook type. Examples: CURIOSITY_SPIKE, IDENTITY_HOOK, CONTRADICTION_HOOK, PROVOCATION, STORY_START, DIRECT_QUESTION_HOOK. Omit for all hook types.'}, 'algo_intent': {'type': 'string', 'description': 'Structural engine to filter by. Examples: PROBLEM_AGITATE_SOLVE, MECHANISM_REVEAL, TRANSFORMATION_ARC, SOCIAL_PROOF_STACK, COMPARISON_CONTRAST, URGENCY_SCARCITY. Omit for all intents.'}, 'creative_format': {'type': 'string', 'description': 'Creative format to filter by. Examples: TALKING_HEAD_BROLL, VOICEOVER_BROLL, UGC_TESTIMONIAL, PRODUCT_DEMO, SLIDESHOW_OVERLAY, INFLUENCER. Omit for all formats.'}, 'marketing_angle': {'type': 'string', 'description': 'Marketing angle to filter by. Examples: PROBLEM_SOLUTION, SOCIAL_PROOF_RESULTS, HOW_TO_TUTORIAL, INGREDIENT_SCIENCE, ASPIRATIONAL_IDENTITY, VALUE_STACK. Omit for all angles.'}}}
delete_brand_asset
Delete Brand Asset
Delete one brand asset by asset_id. Removes the brand_assets row and (when the asset was uploaded rather than scanned) the storage object. Destructive — confirm with the user before calling. Use list_brand_assets first to find the asset_id.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_id'], 'properties': {'asset_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Asset to delete. Get from list_brand_assets.'}}}
delete_saved_asset
Delete Saved Asset
Delete one saved asset by id. Destructive — confirm with the user before calling. OAuth callers can only delete saves they created themselves (Linear model — see /assets UI for org-admin override). API-key callers are treated as org-trusted and can delete on behalf of any creator in the workspace. Cleans up the storage object for private VISUALS/MOTION saves.
Destructivo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_id'], 'properties': {'asset_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Asset to delete. Get from list_saved_assets.'}}}
dispatch_desk_researcher
Dispatch — desk-researcher
Dispatch to the DESK RESEARCHER — source-grounded synthesis on a topic landscape. Use for: "what is known about X / give me the landscape of Y / fact-check Z / synthesize the published evidence on W". Multi-source FACT/INFERENCE extraction with citation discipline. Vertical and geography agnostic. Returns: BRIEF restatement + NOT IN SCOPE + findings with FACT/INFERENCE/SPECULATION labels + [n] citations + Sources block. NOT for: trajectory questions (use dispatch_trend_researcher) / entity teardowns (use dispatch_market_analyst) / numerical effect sizes (use dispatch_quantitative_researcher) / community quotes (use dispatch_qualitative_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_desk_researcher_async
Dispatch (async) — desk-researcher
Dispatch to the DESK RESEARCHER — source-grounded synthesis on a topic landscape. Use for: "what is known about X / give me the landscape of Y / fact-check Z / synthesize the published evidence on W". Multi-source FACT/INFERENCE extraction with citation discipline. Vertical and geography agnostic. Returns: BRIEF restatement + NOT IN SCOPE + findings with FACT/INFERENCE/SPECULATION labels + [n] citations + Sources block. NOT for: trajectory questions (use dispatch_trend_researcher) / entity teardowns (use dispatch_market_analyst) / numerical effect sizes (use dispatch_quantitative_researcher) / community quotes (use dispatch_qualitative_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_head_of_research
Dispatch — Head of Research
Run a full research workflow via the Head of Research agent. The Head decomposes your brief into specialist sub-questions, dispatches the right combination of 6 specialists (desk, trend, market, quant, qual, social) in parallel via async dispatch, polls them to completion, judges output quality, and returns a structured synthesis. Use for: any source-grounded research request — fact-checking, vendor teardowns, trend assessment, quantitative effect-size analysis, qualitative theme extraction, cross-platform discourse mapping, or any combination. Wall time: 2-5 min typical. Returns: { synthesis, head_session_id, status, event_count, tool_uses, elapsed_ms }. NOT for: non-research requests (writing, coding, casual chat) — respond directly without calling this. Cost: $0.20-1.50 per call depending on brief complexity (specialist token spend + Anthropic session-runtime at $0.08/hr).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brief'], 'properties': {'brief': {'type': 'string', 'maxLength': 8000, 'minLength': 20, 'description': 'The research brief to send to the Head. Must be self-contained â\x80\x94 the Head sees only this string, no conversation history. Include entity, time window, scope, and unit of analysis explicitly. Be concrete: vague briefs produce vague output.'}, 'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': 'standard (default) uses production models in specialists; deep escalates to higher-capability models. Use deep when accuracy matters more than cost.'}, 'max_wait_seconds': {'type': 'integer', 'maximum': 900, 'minimum': 60, 'description': 'Hard cap on how long to wait for the Head session to complete. Default 270 (4.5 min). Heads typically complete in 2-5 min; raise this if you expect a deep research brief.'}}}
dispatch_market_analyst
Dispatch — market-analyst
Dispatch to the MARKET ANALYST — entity-deep teardown of a named brand or vendor. Use for: "what is brand X / how does company Y work / decode competitor Z / teardown vendor W". Multi-axis extraction grounded in multi-class sourcing, plus defensible MOAT and credible GAP theses. Vertical and geography agnostic. Returns: 8-axis extraction (positioning / offer / audience / voice / pricing / distribution / proof / trajectory) + MOAT thesis + GAP thesis + Sources. NOT for: topic landscapes without a named entity (use dispatch_desk_researcher) / trajectory questions about a category (use dispatch_trend_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_market_analyst_async
Dispatch (async) — market-analyst
Dispatch to the MARKET ANALYST — entity-deep teardown of a named brand or vendor. Use for: "what is brand X / how does company Y work / decode competitor Z / teardown vendor W". Multi-axis extraction grounded in multi-class sourcing, plus defensible MOAT and credible GAP theses. Vertical and geography agnostic. Returns: 8-axis extraction (positioning / offer / audience / voice / pricing / distribution / proof / trajectory) + MOAT thesis + GAP thesis + Sources. NOT for: topic landscapes without a named entity (use dispatch_desk_researcher) / trajectory questions about a category (use dispatch_trend_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_qualitative_researcher
Dispatch — qualitative-researcher
Dispatch to the QUALITATIVE RESEARCHER — thematic synthesis from unstructured text (interviews, reviews, forum threads, customer language). Use for: "what are the 2-3 recurring themes in how D2C founders talk about X / what language is being used around Y / what are the patterns in customer reviews of Z". Every theme carries evidence count, triangulation status, ≥1 verbatim quote, outlier-check note. SOLVES the Reddit/X/Substack named-operator voice retrieval gap that legacy search tools could not fill. Returns: Corpus + Sampling + Coding methodology + 4-axis Themes table + Theme synthesis + Outlier voices + Saturation assessment + Sources. NOT for: quantitative effect sizes (use dispatch_quantitative_researcher) / multi-platform discourse mapping (use dispatch_social_listening_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_qualitative_researcher_async
Dispatch (async) — qualitative-researcher
Dispatch to the QUALITATIVE RESEARCHER — thematic synthesis from unstructured text (interviews, reviews, forum threads, customer language). Use for: "what are the 2-3 recurring themes in how D2C founders talk about X / what language is being used around Y / what are the patterns in customer reviews of Z". Every theme carries evidence count, triangulation status, ≥1 verbatim quote, outlier-check note. SOLVES the Reddit/X/Substack named-operator voice retrieval gap that legacy search tools could not fill. Returns: Corpus + Sampling + Coding methodology + 4-axis Themes table + Theme synthesis + Outlier voices + Saturation assessment + Sources. NOT for: quantitative effect sizes (use dispatch_quantitative_researcher) / multi-platform discourse mapping (use dispatch_social_listening_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_quantitative_researcher
Dispatch — quantitative-researcher
Dispatch to the QUANTITATIVE RESEARCHER — numerical analysis with full methodology context. Use for: briefs that turn on numbers done rigorously — "what is the documented effect size of X / what does the data say about Y / quantify the impact of Z". Every load-bearing number carries sample frame, sample size, measurement instrument, time window. Often answers with insufficient-evidence when underlying data is thin (negative findings are deliverable). Returns: 4-axis Quantitative summary (Value / Methodology rigor / Effect size / Robustness) + Numerical findings table + Methodology gaps + Sources. NOT for: topic landscapes (use dispatch_desk_researcher) / community language patterns (use dispatch_qualitative_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_quantitative_researcher_async
Dispatch (async) — quantitative-researcher
Dispatch to the QUANTITATIVE RESEARCHER — numerical analysis with full methodology context. Use for: briefs that turn on numbers done rigorously — "what is the documented effect size of X / what does the data say about Y / quantify the impact of Z". Every load-bearing number carries sample frame, sample size, measurement instrument, time window. Often answers with insufficient-evidence when underlying data is thin (negative findings are deliverable). Returns: 4-axis Quantitative summary (Value / Methodology rigor / Effect size / Robustness) + Numerical findings table + Methodology gaps + Sources. NOT for: topic landscapes (use dispatch_desk_researcher) / community language patterns (use dispatch_qualitative_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_social_listening_researcher
Dispatch — social-listening-researcher
Dispatch to the SOCIAL LISTENING RESEARCHER — multi-platform community-signal interpretation. Use for: "what are practitioners saying about X across platforms / what jargon is emerging in field Y / what is the cross-platform discourse around brand/topic Z". Treats T3 community sources as primary data, distinguishes cross-platform patterns from single-platform noise. ≥3 platforms sampled per brief. Returns: Signal map (Signal / Platforms / Volume / Sentiment + recency) + Per-platform evidence trail + Cross-platform vs single-platform classification + Confidence flag + Sources. NOT for: single-source thematic work (use dispatch_qualitative_researcher) / numerical sentiment effect sizes (use dispatch_quantitative_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_social_listening_researcher_async
Dispatch (async) — social-listening-researcher
Dispatch to the SOCIAL LISTENING RESEARCHER — multi-platform community-signal interpretation. Use for: "what are practitioners saying about X across platforms / what jargon is emerging in field Y / what is the cross-platform discourse around brand/topic Z". Treats T3 community sources as primary data, distinguishes cross-platform patterns from single-platform noise. ≥3 platforms sampled per brief. Returns: Signal map (Signal / Platforms / Volume / Sentiment + recency) + Per-platform evidence trail + Cross-platform vs single-platform classification + Confidence flag + Sources. NOT for: single-source thematic work (use dispatch_qualitative_researcher) / numerical sentiment effect sizes (use dispatch_quantitative_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_trend_researcher
Dispatch — trend-researcher
Dispatch to the TREND RESEARCHER — recency-dominant trajectory investigation. Use for: "is X a real trend / what is happening with X right now / where is X headed / what is driving X". Distinguishes trend from spike, signal from noise, real shift from echo chamber. Commits to falsifying conditions before searching. Returns: 4-axis Trend assessment (Reality / Magnitude / Direction / Horizon) + Current state + Baseline + trajectory + Drivers + Counter-signals + Sources. NOT for: static landscape questions (use dispatch_desk_researcher) / entity teardowns (use dispatch_market_analyst) / numerical analysis (use dispatch_quantitative_researcher).
Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model (per _config/model-assignments.ts)."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable the specialist must return. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly (parent may summarize otherwise).'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which of its tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
dispatch_trend_researcher_async
Dispatch (async) — trend-researcher
Dispatch to the TREND RESEARCHER — recency-dominant trajectory investigation. Use for: "is X a real trend / what is happening with X right now / where is X headed / what is driving X". Distinguishes trend from spike, signal from noise, real shift from echo chamber. Commits to falsifying conditions before searching. Returns: 4-axis Trend assessment (Reality / Magnitude / Direction / Horizon) + Current state + Baseline + trajectory + Drivers + Counter-signals + Sources. NOT for: static landscape questions (use dispatch_desk_researcher) / entity teardowns (use dispatch_market_analyst) / numerical analysis (use dispatch_quantitative_researcher). ASYNC version: returns { job_id } immediately, the specialist runs durably on a Vercel Workflow (no 300s timeout). Use this version when the specialist is expected to take >90s. Call get_dispatch_result(job_id) periodically (respect wait_ms_hint in the response) until status === 'completed' or 'failed'. Idempotent: same brief + same org reuses the same job_id, so retries don't fan out duplicate runs.
Acceso externo Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['objective', 'output_format', 'tool_guidance', 'boundaries'], 'properties': {'priority': {'enum': ['standard', 'deep'], 'type': 'string', 'description': "standard (default) uses the specialist's production model; deep uses its escalation model."}, 'objective': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'One sentence stating what "done" looks like â\x80\x94 the specific deliverable. From the four-part delegation contract (agent-authoring §5).'}, 'boundaries': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'In scope vs out of scope. Explicit OUT_OF_SCOPE clauses. Constraints (e.g. "do not spawn further subagents", "only Meta paid social").'}, 'output_format': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'The shape the specialist must return â\x80\x94 schema, template, or specific format. If verbatim-return needed, say so explicitly.'}, 'tool_guidance': {'type': 'string', 'maxLength': 1500, 'minLength': 10, 'description': 'How the specialist should approach this â\x80\x94 which tools to favor, effort budget in tool calls, query angles to prioritize.'}}}
favorite_saved_asset
Favorite Saved Asset
Toggle the favorite flag on a saved asset. Pass is_favorite=true to favorite, false to unfavorite. favorited_at is set/cleared in lockstep so the Favorites tab sorts correctly. Not destructive.
Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_id', 'is_favorite'], 'properties': {'asset_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Asset to favorite or unfavorite.'}, 'is_favorite': {'type': 'boolean', 'description': 'true to favorite, false to unfavorite. favorited_at is set/cleared in lockstep.'}}}
fetch_url
Fetch URL
Drill into a specific URL after search surfaces it. Returns the extracted text content plus metadata. Internal routing: PDFs hit Anthropic Files API for OCR + structured extraction; HTML pages are fetched + text-extracted via readability-style stripping. Use for: verifying a verbatim quote from a Reddit thread, reading a primary source in full (earnings transcript, research paper), drilling into a vendor product page after search surfaced the URL. NOT for: discovering new URLs — use search/search_community/search_research first. This tool takes a known URL only. Optional max_chars 100-50000, default 8000. SSRF-protected: private IPs + localhost blocked.
Solo lectura Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'maxLength': 2000, 'description': 'Absolute URL to fetch. Used to drill into a specific source after search surfaces it. Must be http:// or https://. Private IPs and localhost are blocked (SSRF protection).'}, 'max_chars': {'type': 'integer', 'maximum': 50000, 'minimum': 100, 'description': 'Maximum characters of extracted content to return. Default 8000. Higher returns more text but costs more in agent tokens.'}}}
fleet_analytics_overview
Fleet — Analytics Overview
Aggregate marketing analytics for the last 7/28/90 days: pageviews, visitors, sessions, AI-search-referred sessions, the view→engaged→CTA→signup→trial funnel, and top pages. Aggregates only — never person-level data. FUNNEL EVENTS, so you know what each step counts: views = $pageview; engaged = pseo_session_summary with properties.engaged (scroll ≥25% or dwell); CTA = pseo_session_summary with properties.cta_clicks_count > 0, where a CTA is a click on a link to /auth/signup, /auth/login, /book-demo, /pricing or /workspace, or any element marked data-cta; signup = signup_completed; trial = trial.started. CTA auto-detection and Creative Library session tracking both began 2026-08-24 — a CTA step that rises from ~0 across that date is instrumentation landing, not a conversion change, and library figures before it were never measured. Any step that exceeds its 25s deadline reports TIMED OUT and is NOT a zero. Returns an error result if product analytics is not configured. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'anyOf': [{'type': 'number', 'const': 7}, {'type': 'number', 'const': 28}, {'type': 'number', 'const': 90}], 'description': 'Window in days: 7, 28, or 90. Default 7.'}}}
fleet_analytics_top_pages
Fleet — Analytics Top Pages
Top marketing pages by views for the last 7/28/90 days, optionally filtered to a path prefix (e.g. "/decode", "/intelligence", "/brands"). Includes engagement signals where captured. Aggregates only, hard cap 50 rows. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'anyOf': [{'type': 'number', 'const': 7}, {'type': 'number', 'const': 28}, {'type': 'number', 'const': 90}], 'description': 'Window in days: 7, 28, or 90. Default 7.'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 20, hard cap 50).'}, 'path_prefix': {'type': 'string', 'maxLength': 120, 'description': 'Only include paths starting with this prefix (e.g. "/decode", "/intelligence", "/brands").'}}}
fleet_analytics_trend
Fleet — Analytics Trend
Daily pageview series for the last 7/28/90 days, split by traffic source category (ai_search / organic / social / direct / referral). Use to measure launch weeks and content momentum. Aggregates only. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'anyOf': [{'type': 'number', 'const': 7}, {'type': 'number', 'const': 28}, {'type': 'number', 'const': 90}], 'description': 'Window in days: 7, 28, or 90. Default 28.'}, 'metric': {'enum': ['pageviews'], 'type': 'string', 'description': 'Metric for the daily series. v1 supports pageviews (split by source category: ai_search / organic / social / direct / referral).'}}}
fleet_crawler_hits
Fleet — AI Crawler Hits
Server-logged crawler fetches: which AI engines (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, …) and search crawlers (Googlebot, Bingbot) fetched which heista.co pages, and when. This signal is invisible to page analytics — crawlers never run the tracking script. Group by bot, page, or date; filter by bot or path. Logging began 2026-07-23 (no earlier history exists). 180-day retention. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'bot': {'type': 'string', 'maxLength': 40, 'description': 'Filter to one bot (canonical names: gptbot, oai-searchbot, chatgpt-user, claudebot, claude-user, perplexitybot, perplexity-user, googlebot, bingbot, â\x80¦).'}, 'days': {'type': 'integer', 'maximum': 180, 'minimum': 1, 'description': 'Window in days (default 28, max 180 â\x80\x94 retention limit).'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max rows (default 25, hard cap 100).'}, 'group_by': {'enum': ['bot', 'page', 'date'], 'type': 'string', 'description': 'Aggregation: by bot (default â\x80\x94 which engines are crawling), by page (what they fetch), or by date (crawl cadence).'}, 'path_prefix': {'type': 'string', 'maxLength': 200, 'description': 'Filter: page path STARTS WITH this (e.g. "/creative/library"). Anchored â\x80\x94 this is the one you want. Prefer it over path_contains.'}, 'path_contains': {'type': 'string', 'maxLength': 200, 'description': 'Filter: page path contains this anywhere. Over-matches â\x80\x94 "/creative" also returns /creative-playbooks and /creative-development. Use path_prefix unless you deliberately want a substring.'}}}
fleet_create_issue
Fleet — File a Linear Issue
File an issue on the Heista HEI board: title, markdown description, optional labels (Bug, Feature, Improvement, Security, SEO, Tech Debt, Upstream, In-App Support, In-App Feedback) and priority (0 none - 4 low, default 3). Unknown label names are dropped with a warning rather than failing the write. Locked to team HEI. Use it to record a real defect or a piece of work, not to take notes.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['title', 'description'], 'properties': {'title': {'type': 'string', 'maxLength': 250, 'minLength': 4, 'description': 'Outcome-shaped title.'}, 'labels': {'type': 'array', 'items': {'type': 'string', 'minLength': 1}, 'maxItems': 6, 'description': 'Label names, e.g. ["Bug","SEO"]. Unknown names are dropped, not rejected.'}, 'priority': {'type': 'integer', 'maximum': 4, 'minimum': 0, 'description': '0 none, 1 urgent, 2 high, 3 medium, 4 low. Default 3.'}, 'description': {'type': 'string', 'maxLength': 20000, 'minLength': 1, 'description': 'Markdown. Say what is broken, how to reproduce it, and what you expected.'}}}
fleet_get_brand_report
Fleet — Get Brand Report
Read one live brand report in full by slug, including the creative intelligence payload used on the public brand page — proof points for outreach and positioning. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Brand report slug from fleet_list_brand_reports.'}}}
fleet_get_decoded_ad
Fleet — Get Decoded Ad
Read one published decode in full by id or slug, including its public structural payload (beats, classification, patterns — the same data rendered on the public decode page). Use for proof points, content briefs, and pattern citations. Not for customer workspace decodes — only the published corpus. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id_or_slug'], 'properties': {'id_or_slug': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Decode id (uuid) or public slug â\x80\x94 both appear in fleet_search_decoded_ads results.'}}}
fleet_get_issue
Fleet — Get Linear Issue
Read one Heista Linear issue in full by identifier (e.g. "HEI-14") or UUID: title, state, priority, assignee, labels, full description, and recent comments (including the automated scope/fix notes agents leave). Locked to team HEI. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['identifier'], 'properties': {'identifier': {'type': 'string', 'maxLength': 40, 'minLength': 1, 'description': 'Issue identifier like "HEI-14" (preferred) or the issue UUID.'}}}
fleet_gsc_inspect_url
Fleet — Inspect URL Index Status
Google URL Inspection for one heista.co URL: index verdict, coverage state ("Submitted and indexed" / "Crawled - currently not indexed" / "URL is unknown to Google"), last crawl time, robots state, and canonical resolution. THE tool for diagnosing why a page has no impressions. Quota ~2,000 inspections/day — batch thoughtfully. Read-only (requesting indexing is not possible via API).
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'format': 'uri', 'maxLength': 500, 'description': 'Full heista.co URL to inspect (e.g. "https://www.heista.co/decode").'}}}
fleet_gsc_query
Fleet — Search Console Live Query
LIVE Google Search Analytics query — group by any dimensions (date, page, query, country, device, searchAppearance; up to 3) with page/query filters over up to 16 months of history. Richer than the snapshot tools: use this for ad-hoc analysis. NOTE: including the "query" dimension omits anonymized rare queries — use ["date"] or ["page"] for complete totals on low-traffic sites. Hard cap 100 rows. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['dimensions'], 'properties': {'end_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'ISO date. Default: 3 days ago (GSC lags ~2-3 days).'}, 'row_limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max rows (default 25, hard cap 100).'}, 'dimensions': {'type': 'array', 'items': {'enum': ['date', 'page', 'query', 'country', 'device', 'searchAppearance'], 'type': 'string'}, 'maxItems': 3, 'minItems': 1, 'description': 'Group-by dimensions, up to 3 (e.g. ["query"], ["page","query"], ["date"]). NOTE: including "query" omits anonymized/rare queries â\x80\x94 totals with ["date"] or ["page"] are more complete on low-traffic sites.'}, 'start_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'ISO date (YYYY-MM-DD). Default: 28 days ago. GSC holds ~16 months of history.'}, 'page_contains': {'type': 'string', 'maxLength': 200, 'description': 'Filter: page URL contains this string (e.g. "/decode").'}, 'query_contains': {'type': 'string', 'maxLength': 200, 'description': 'Filter: search query contains this string.'}}}
fleet_gsc_sitemaps
Fleet — Sitemap Indexing Scoreboard
Sitemaps registered on the Search Console property with submitted vs indexed counts, last-download time, warnings and errors. The indexing-progress scoreboard — as of Jul 2026 the main sitemap had 2,432 submitted / 0 indexed. Track this as SEO fixes land. No parameters. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
fleet_gsc_summary
Fleet — Search Performance Summary
Google Search performance totals from first-party Search Console data (synced 6-hourly): clicks, impressions, CTR, impression-weighted average position, distinct queries and pages. Optional page-path filter. Data lags real traffic by ~2-3 days; max window 28 days. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 28, 'minimum': 1, 'description': 'Window in days (max 28 â\x80\x94 GSC data lags ~2-3 days). Default 28.'}, 'page_prefix': {'type': 'string', 'maxLength': 120, 'description': 'Only include pages whose URL contains this path (e.g. "/decode").'}}}
fleet_gsc_top_pages
Fleet — Top Search Pages
Top pages by Google search clicks or impressions from first-party Search Console data, optionally filtered to queries containing a term. Use to find which pSEO pages earn search demand. Hard cap 50 rows, max window 28 days. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 28, 'minimum': 1, 'description': 'Window in days (max 28). Default 28.'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 25, hard cap 50).'}, 'order_by': {'enum': ['clicks', 'impressions'], 'type': 'string', 'description': 'Sort key. Default clicks.'}, 'query_contains': {'type': 'string', 'maxLength': 120, 'description': 'Only include rows whose search query contains this text.'}}}
fleet_gsc_top_queries
Fleet — Top Search Queries
Top Google search queries by clicks or impressions from first-party Search Console data, optionally filtered to pages containing a path (e.g. "/decode"). The core tool for briefing programmatic SEO. Hard cap 50 rows, max window 28 days. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 28, 'minimum': 1, 'description': 'Window in days (max 28). Default 28.'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 25, hard cap 50).'}, 'order_by': {'enum': ['clicks', 'impressions'], 'type': 'string', 'description': 'Sort key. Default clicks.'}, 'page_prefix': {'type': 'string', 'maxLength': 120, 'description': 'Only include pages whose URL contains this path.'}}}
fleet_intel_stats
Fleet — Canonical Corpus Stats
Canonical Ad Intelligence corpus counts — the single source of truth that kills number drift across marketing surfaces. Returns decoded ads published (THE number to quote publicly), total corpus size, live brand/category/weekly report counts, live categories and verticals, and the last publish timestamp. Use this BEFORE citing any corpus number in content, outreach, or briefs. Free, read-only, no parameters.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
fleet_list_brand_reports
Fleet — List Brand Reports
List live brand-level Ad Intelligence reports (the public /decode/brand pages). Optional brand-name filter, paginated, hard cap 50 rows. Returns identifiers + ad counts + public URLs; use fleet_get_brand_report for a full report. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 10, hard cap 50).'}, 'query': {'type': 'string', 'maxLength': 120, 'description': 'Filter by brand name (partial match).'}, 'offset': {'type': 'integer', 'maximum': 5000, 'minimum': 0, 'description': 'Pagination offset.'}}}
fleet_list_intelligence_articles
Fleet — List Intelligence Articles
List live intelligence articles — the weekly and per-vertical category report system behind the public intelligence surfaces. Filter by kind (weekly/category) or vertical. Note: individual static deep-dive articles are not DB rows and are not listed here. Hard cap 50 rows. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'kind': {'enum': ['weekly', 'category'], 'type': 'string', 'description': 'Filter by article kind.'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 10, hard cap 50).'}, 'offset': {'type': 'integer', 'maximum': 5000, 'minimum': 0, 'description': 'Pagination offset.'}, 'vertical': {'type': 'string', 'maxLength': 120, 'description': 'Filter category articles by vertical.'}}}
fleet_list_issues
Fleet — List Linear Issues
List issues on the Heista Linear board (team HEI) — the read-only window into what the dev agents are working on, what's broken, and what's shipped. Filter by workflow state ("Backlog"/"Todo"/"In Progress"/"In Review"/"Done"), label ("Bug"/"Security"/"SEO"/"In-App Feedback"/…), or a title search. Returns identifier + state + priority + assignee + labels; use fleet_get_issue for the full description + comments. Hard cap 100 rows. Read-only — the fleet cannot create, edit, or close tickets.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'label': {'type': 'string', 'maxLength': 60, 'description': 'Filter by label name (e.g. "Bug", "Security", "SEO", "In-App Feedback").'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max rows (default 30, hard cap 100).'}, 'query': {'type': 'string', 'maxLength': 200, 'description': 'Text search over issue titles (case-insensitive).'}, 'state': {'type': 'string', 'maxLength': 40, 'description': 'Filter by workflow state name: "Backlog", "Todo", "In Progress", "In Review", or "Done".'}}}
fleet_product_funnel_counts
Fleet — Signup Funnel (counts only)
The signup -> trial -> paid funnel as COUNTS ONLY, with no customer PII scope required: signups, trials active, trials expired unconverted, converted to paid, onboarding completed, plus the conversion rate. Aggregated in the database — no identifiers are read or returned. Definitions mirror fleet_product_funnel_summary exactly so the two never disagree. Cohorts below 5 signups have their breakdown SUPPRESSED, because at that size a conversion count identifies an individual; widen the window instead. This is the product funnel (signup onward) — the marketing funnel before it (views, engaged, CTA) is fleet_analytics_overview.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 90, 'minimum': 1, 'description': 'Signup cohort window in days (default 30, max 90).'}}}
fleet_product_funnel_summary
Fleet — Signup Funnel Summary
Aggregate conversion/drop-off stats for a signup cohort (last N days, max 90): trial active vs expired-unconverted vs converted-to-paid, conversion rate, never-spent-a-credit rate, onboarding completion rate, and the most-installed Heists. Answers "where is the funnel leaking" in one call instead of aggregating individual summaries. Requires mcp:fleet:customer_pii. Every call is audit-logged. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 90, 'minimum': 1, 'description': 'Signup cohort window in days (max 90). Default 30.'}}}
fleet_product_signups_recent
Fleet — Recent Signups
List recent signups (last N days, hard cap 50 rows) with the same product-backend shape as fleet_product_user_summary — trial/credits/plan/onboarding/Heists per user. Use to see the newest cohort at a glance before drilling into individuals. Requires mcp:fleet:customer_pii. Every call is audit-logged. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 90, 'minimum': 1, 'description': 'Signup window in days (max 90). Default 7.'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 20, hard cap 50).'}}}
fleet_product_user_summary
Fleet — Customer Product Summary
Look up ONE customer's product-backend state by email: trial status, credit balance, workspace plan, installed Heists, onboarding completion, plus PostHog attribution/engagement signals (source, 30d activity, page journey). This is the data PostHog structurally cannot see — whether they actually have active credits, are on a paid plan, or installed anything. Requires mcp:fleet:customer_pii (a separate, PII-adjacent scope — see Docs/systems/fleet-access.md). Every call is audit-logged. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['email'], 'properties': {'email': {'type': 'string', 'format': 'email', 'pattern': "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$", 'description': 'The user email to look up.'}}}
fleet_search_decoded_ads
Fleet — Search Decoded Ads
Search the published Ad Intelligence corpus (the public decode gallery). Filter by free-text (name/tagline/brand), brand, category, vertical, or platform. Returns list rows with public URLs — never the full structural payload (use fleet_get_decoded_ad for that). Hard cap 50 rows per call; paginate with offset. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'brand': {'type': 'string', 'maxLength': 120, 'description': 'Filter by brand name (partial match).'}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'Max rows (default 10, hard cap 50).'}, 'query': {'type': 'string', 'maxLength': 200, 'description': 'Free-text match against ad name, tagline, and brand name.'}, 'offset': {'type': 'integer', 'maximum': 5000, 'minimum': 0, 'description': 'Pagination offset.'}, 'category': {'type': 'string', 'maxLength': 120, 'description': 'Filter by gallery category (exact match â\x80\x94 values from fleet_intel_stats / prior searches).'}, 'platform': {'type': 'string', 'maxLength': 60, 'description': 'Filter by platform (e.g. facebook, tiktok).'}, 'vertical': {'type': 'string', 'maxLength': 120, 'description': 'Filter by vertical classification (exact match).'}}}
fleet_seo_recovery
Fleet — SEO Indexing-Recovery Scorecard
One-row verification scorecard for the indexing-recovery plan (internal-linking-spec-v2): site-wide + /decode-specific orphan counts (200 but zero internal inlinks) from the latest crawl, Googlebot vs other-bot crawl activity over a window (default 7 days, max 180), and Google Search Console impressions/clicks/avg-position over the trailing 28 days — each figure compared against the pre-fix baseline (1,521 orphans, 7 Googlebot pages/wk, 2 GSC impressions). Use this to confirm PR-A/B/C landed and is moving the needle, not just that the code shipped. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'days': {'type': 'integer', 'maximum': 180, 'minimum': 1, 'description': 'Crawler-hit window in days (default 7, max 180 â\x80\x94 retention limit). GSC + orphan figures are always current-snapshot / trailing-28d.'}}}
fleet_site_audit_summary
Fleet — Site Audit Summary
One-row health scoreboard from the weekly full-site crawl: total pages, OK/redirect/error counts, ORPHAN pages (200 but zero internal inlinks — the primary indexing-recovery target), thin pages, missing meta/titles, total internal links, last crawl time. Start here before drilling into fleet_site_pages. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
fleet_site_links
Fleet — Site Link Graph
Internal links for one page: direction "in" = who links TO it (zero inlinks = orphan), "out" = what it links to. Link data comes from the first render of sitemap-listed pages (pagination-only links are not observed — which mirrors crawler discovery). Hard cap 200 rows. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['path'], 'properties': {'path': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'Page path (e.g. "/decode/some-slug").'}, 'limit': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': 'Max rows (default 50, hard cap 200).'}, 'direction': {'enum': ['in', 'out'], 'type': 'string', 'description': '"in" = pages linking TO this path (default); "out" = pages this path links to.'}}}
fleet_site_pages
Fleet — Site Pages Inventory
Filterable inventory of every sitemap-listed page with SEO facts (title, meta description, canonical, h1, word count, JSON-LD) and internal inlink/outlink counts from the weekly crawl. Filters: path_contains, orphans_only (zero inlinks), max_word_count (thin content), status, missing_meta. Sorted fewest-inlinks first — the pages Google cannot discover float to the top. Hard cap 100 rows. Read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Max rows (default 25, hard cap 100).'}, 'offset': {'type': 'integer', 'maximum': 10000, 'minimum': 0, 'description': 'Pagination offset.'}, 'status': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Filter by HTTP status (e.g. 200, 308, 404).'}, 'path_prefix': {'type': 'string', 'maxLength': 200, 'description': 'Filter: path STARTS WITH this (e.g. "/creative/library"). Anchored â\x80\x94 prefer this. Filtering /creative by substring returns 77 pages; by prefix, 9.'}, 'missing_meta': {'type': 'boolean', 'description': 'Only pages missing a meta description.'}, 'orphans_only': {'type': 'boolean', 'description': 'Only pages with ZERO internal inlinks â\x80\x94 the pages Google has no path to discover.'}, 'path_contains': {'type': 'string', 'maxLength': 200, 'description': 'Filter: path contains this anywhere. Over-matches â\x80\x94 "/creative" also returns /creative-playbooks and /creative-development. Use path_prefix unless a substring is genuinely wanted.'}, 'max_word_count': {'type': 'integer', 'maximum': 100000, 'minimum': 0, 'description': 'Only pages at or below this visible word count (thin-content filter, e.g. 150).'}}}
generate_adscript
Generate Ad Script
Generate direct-response video ad scripts by fusing a proven structural source (decoded ad or formula) with a brand's PowerSource. Output is feed-native ad copy for paid social (Meta, TikTok, Reels) in the brand's voice — hook, beat-by-beat body, CTA close, plus visual direction per beat. Takes source_id (from adformula_intelligence, decoder_intelligence, or decode_ad), source_type ("formula" or "decode"), powersource_id (from any create_powersource_*), and tunable params: count (1-5 variants, tensions and selling points auto-rotated across variants), script_mode ("blueprint" preserves source structure exactly, "remix" preserves psychology but writes original copy), duration (target seconds), audience, tension override, selling_points override, voice_mode ("creator" for UGC default, "brand" for owned channels), and idempotency_key. Use this when the user says "write me a script", "I need a TikTok script", "write an ad based on this", or wants shell-faithful replication of a proven winner in their own brand voice. REQUIRES both a structural source AND a powersource — guide the user through creating either if missing. Metered pricing — typically 2-5 credits per script (~2 credits for 15s, ~5 credits for 60s). Pre-flight reserves a 17-credit ceiling and refunds the difference after measurement. Do NOT use to discover sources — use decoder_intelligence or adformula_intelligence first. Do NOT use to extract brand intel — use create_powersource_url first.
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['source_id', 'source_type', 'powersource_id'], 'properties': {'count': {'type': 'integer', 'maximum': 5, 'minimum': 1, 'description': 'Number of scripts to generate (1-5, default 1). Each script uses a different tension and selling point combination for variety.'}, 'tension': {'type': 'string', 'maxLength': 256, 'description': 'Lock to a specific behavioral tension from the PowerSource (e.g., "Frustration â\x86\x92 Relief"). Omit to let the system select the best match.'}, 'audience': {'type': 'string', 'maxLength': 128, 'description': 'Audience segment from the PowerSource. "buyer_profile" (default) uses the composite buyer. "audience_0", "audience_1", etc. target specific segments.'}, 'duration': {'type': 'integer', 'maximum': 120, 'minimum': 10, 'description': 'Target duration in seconds (remix mode only, 10-120). Blueprint mode locks to the source duration.'}, 'source_id': {'type': 'string', 'maxLength': 128, 'minLength': 1, 'description': 'The ID of the structural source to write from. For source_type="decode": either a job_id from your own decode_ad call OR an id from decoder_intelligence (corpus ad). For source_type="formula": a formula id from adformula_intelligence.'}, 'voice_mode': {'enum': ['creator', 'brand'], 'type': 'string', 'description': 'Voice register for the script. "creator" (default) = authentic creator voice for UGC, PowerSource locks facts/tensions/selling points but NOT voice register. "brand" = full PowerSource brand voice for brand-owned content (website, OOH, brand films). Most ad scripts should use "creator".'}, 'script_mode': {'enum': ['blueprint', 'remix'], 'type': 'string', 'description': 'Script mode. "blueprint" (default) follows the source formula exactly â\x80\x94 same beat structure, same timing. "remix" uses the psychological architecture but writes original copy.'}, 'source_type': {'enum': ['decode', 'formula'], 'type': 'string', 'description': 'Type of structural source. "decode" = a single decoded ad (your own or from the corpus). "formula" = a clustered blueprint built from multiple winning ads.'}, 'powersource_id': {'type': 'string', 'maxLength': 128, 'minLength': 1, 'description': 'Identifier for the brand PowerSource that supplies voice, selling points, tensions, and audience. Accepts either a job_id from create_powersource_* or a brief_id from get_powersource â\x80\x94 both work.'}, 'selling_points': {'type': 'array', 'items': {'type': 'string', 'maxLength': 512}, 'maxItems': 5, 'description': 'Lock to specific selling points from the PowerSource (max 5). Omit to let the system select the best match for each beat.'}, 'idempotency_key': {'type': 'string', 'maxLength': 128, 'description': 'Optional unique key to make this call safely retryable. If the same key + org repeats, the original result is returned without re-charging.'}}}
get_ad_formula_preset
Get Ad formula
Get one ad formulas preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_brand
Get Brand
Get a brand's full canonical record — name, domain, voice (tone_of_voice), story, visual identity (logo, primary color, visual assets), and counts. Use to inspect what a brand carries before deciding which Heist context to run, or to read the brand voice directly when writing copy. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to inspect. Get from list_brands.'}}}
get_cd_card_bookmark_preset
Get Saved card
Get one saved cards preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_creative_agent_preset
Get Creative agent
Get one creative agents preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_creative_agent_skill_preset
Get Creative agent skill
Get one creative agent skills preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_creative_director_playbook_preset
Get Creative Director playbook
Get one creative director playbooks preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_decode
Get Decode Result
Retrieve the full decode bundle for a previously-submitted ad, or poll the status of a running decode job. Takes a single job_id (UUID returned by decode_ad). Returns either status="processing" (call again in 15s) or the completed payload — exact transcripts per beat, director's read, per-cut visual data (shot_breakdown), visual psychology, behaviour biases, beat structure, hook classification, and runtime fields (active days on Meta Ad Library when the source supports it). Use this immediately after decode_ad and every 15 seconds until the job completes. Also use this to re-fetch a decode any time you need the full bundle for script writing (Path B) or as the source_id for generate_adscript (source_type="decode"). Free — billing happens at decode_ad submit time, not on retrieval. Do NOT use to discover or list decodes — use decoder_intelligence for browsing. Do NOT use to start a new decode — call decode_ad first.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Job ID returned by decode_ad. Call this tool to poll status or retrieve completed results.'}}}
get_decoded_ad_preset
Get Decoded ad
Get one decoded ads preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_dispatch_result
Get Dispatch Result
Get the current status of a specialist dispatch job started via dispatch_<specialist>_async. Returns { status: queued|running|completed|failed, result_text?, error_text?, error_class?, retry_count, elapsed_seconds, wait_ms_hint }. Call this repeatedly after a dispatch_*_async returns a job_id. Sleep wait_ms_hint milliseconds between calls. When status === "completed", read result_text as the specialist's full synthesis. When status === "failed", error_class tells you whether to retry (transient/scope/routing) or give up and synthesize around (permanent) per the fleet resilience pattern.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'The job_id returned by a previous dispatch_<specialist>_async call.'}}}
get_fleet_cost
Get Fleet Cost Breakdown
Read-only walk of a fleet session tree. Given any session_id in the tree (root, Head, Mastermind, or specialist sub-node) returns the full breakdown: every session row with depth + parent + agent_kind + node_label, the cost_events recorded against each, per-node self_cost_cents, total raw compute, tier markup estimate, and (after close_session_tree has run) the authoritative credits_charged + credits_refunded. Org-scoped: only sessions belonging to your org return data. Free — no compute cost. Use to render cost breakdown UIs, audit fleet spend, or verify a session's tree topology.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['root_session_id'], 'properties': {'root_session_id': {'type': 'string', 'minLength': 1, 'description': 'A session_id from anywhere in the fleet tree â\x80\x94 root, Head, Mastermind, or specialist sub-node. The handler resolves to the actual root and walks the full subtree, so you do not need to know the root id specifically. Org-scoped: only sessions belonging to your org return data.'}}}
get_hook_intelligence
Get Hook Intelligence
Browse proven hook patterns from Heista's corpus of decoded winning Meta/TikTok ads. Takes optional filters: vertical (e.g. BEAUTY_SKINCARE, SUPPLEMENTS, APPAREL), hook_type (e.g. CURIOSITY_SPIKE, CONTRADICTION, CALLOUT), and marketing_angle. Returns hook examples (the real opener lines from successful ads), pattern templates, the psychological mechanism behind why each one stops the scroll within the first 1.5 seconds, and runtime performance data (active days on Meta when available). Free, read-only, idempotent — no credits consumed. Use this when the user asks "what hooks stop the scroll", "give me hook ideas", "how should I open this ad", "show me hooks for [vertical]", or needs scroll-stopping openers grounded in proven patterns rather than guessed copy. Useful before writing a script — pair with adformula_intelligence or decoder_intelligence for the full beat structure. Do NOT use to decode a specific ad URL — use decode_ad. Do NOT use to generate finished scripts — use generate_adscript. Hooks here are pattern intelligence, not finished copy.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'vertical': {'type': 'string', 'description': 'Industry vertical to filter corpus patterns. Examples: BEAUTY_SKINCARE, HEALTH_SUPPLEMENTS, FITNESS, FOOD_BEVERAGE, FASHION_APPAREL, SAAS_SOFTWARE, FINANCE_FINTECH, INFO_PRODUCTS, TECH_GADGETS. Omit for all verticals.'}, 'hook_type': {'type': 'string', 'description': 'Specific hook type to retrieve patterns for. Examples: CURIOSITY_SPIKE, OPEN_LOOP_STATEMENT, HIDDEN_TRUTH_REVEAL, IDENTITY_HOOK, CONTRADICTION_HOOK, PROVOCATION, STORY_START, DIRECT_QUESTION_HOOK, CHALLENGE_INTRO, CONTRAST_SETUP. Omit to get the top performing types for the vertical.'}, 'marketing_angle': {'type': 'string', 'description': 'Marketing angle to filter by. Examples: PROBLEM_SOLUTION, SOCIAL_PROOF_RESULTS, HOW_TO_TUTORIAL, OFFER_URGENCY, ASPIRATIONAL_IDENTITY, VALUE_STACK. Omit for all angles.'}}}
get_image_ad_scan_preset
Get Static ad
Get one static ads preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_outfit_preset
Get Outfit
Get one outfits preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_powersource
Get PowerSource Result
Retrieve the full creative intelligence profile for a previously-submitted PowerSource scan, or poll the status of a running scan. Takes a job_id (UUID returned by any create_powersource_* tool) plus an optional include_raw flag (admin-only). Returns either status="processing" with partial progress or the completed bundle: brand identity, offer, 12 selling points, brand voice rules, buyer profile, 12 buyer tensions, angles, emotional arcs, ctas, proof, narrative. Use this immediately after any create_powersource_* call and every 3-5 seconds until status is "completed". During synthesis, partial intelligence appears progressively (buyer archetype first, then tensions, then angles) — inspect each poll response, useful signal arrives early. Also use this to re-fetch a finished PowerSource any time you need the brand layer for downstream work. Free — billing happens at submit time. Do NOT use to start a new scan — call create_powersource_url, _docs, or _full first. Do NOT use to retrieve a video decode — use get_decode.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Job ID returned by any create_powersource_* call. Use this to poll status or retrieve completed results.'}, 'include_raw': {'type': 'boolean', 'description': 'Internal-only. When true and the caller holds mcp:internal_admin, returns the un-merged brief bundle alongside the merged response. Silently ignored for non-admin callers â\x80\x94 no error is raised.'}}}
get_saved_asset
Get Saved Asset
Fetch one saved asset by id. Returns the full row including category, format, tags, body_text/html, signed media_url (if private storage), metadata, creator, brand, and timestamps. Use AFTER list_saved_assets to load the full record when the list projection is too sparse.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_id'], 'properties': {'asset_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Asset to fetch. Get from list_saved_assets.'}}}
get_saved_assets_batch
Get Saved Assets (Batch)
Fetch up to 50 saved assets by id in one round-trip. Use when an agent needs to pull a pre-selected set — e.g. resolving a saved_asset_picker context input on a Heist that requires N pinned assets. Missing or cross-workspace ids are silently dropped; compare returned items vs requested ids to detect drops.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_ids'], 'properties': {'asset_ids': {'type': 'array', 'items': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$'}, 'maxItems': 50, 'minItems': 1, 'description': 'Up to 50 asset ids to fetch in one round-trip. Use when an agent needs to pull a pre-selected set of saves (e.g. resolving a saved_asset_picker declaration in a Heist). Missing/cross-workspace ids are silently dropped.'}}}
get_saved_visual_idea_preset
Get Saved visual idea
Get one saved visual ideas preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_strategy
Get Strategy
Read a creative strategy in full by its powersource_id. Returns the same brand-merged bundle shape as get_powersource(data) — buyer profile, 12 behavioral tensions, angles, narrative direction, tone of voice, selling points, CTAs, proof, brand story, homepage data, offering — projected through the public PowerSource API serializer. Use this when you already have a powersource_id (from list_strategies) and want the full strategy payload in one call, without the job_id round-trip that get_powersource needs. Archived strategies are excluded by default (parity with list_strategies). Pass include_archived=true to read archived strategies. Read-only, free, account-scoped.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['powersource_id'], 'properties': {'powersource_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Strategy (PowerSource / brief) id. Get from list_strategies. Returns the full brand-merged bundle â\x80\x94 buyer profile, 12 behavioral tensions, angles, narrative, tone of voice, selling points, CTAs, proof, brand story, homepage data, offering. Same shape as get_powersource(data) but keyed by powersource_id (no job_id needed).'}, 'include_archived': {'type': 'boolean', 'description': 'Include archived strategies. Default false (archived strategies are excluded from agent reads â\x80\x94 same default as list_strategies).'}}}
get_talent_model_preset
Get Model
Get one models preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_visual_preset_preset
Get Visual
Get one visuals preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
get_visual_style_preset
Get Visual style
Get one visual styles preset by id, including its full body payload (framework, agent config, etc.). Call the matching list tool first to discover ids. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['id'], 'properties': {'id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Preset id. Discover ids by calling the matching list_<type>_presets first.'}}}
list_ad_formula_presets
List Ad formulas
Cluster-level structural formulas derived from decoded ads. Heista-curated; served as a generation parameter. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_brand_assets
List Brand Assets
List images for a brand. Filter by PowerSource (this scan only, via powersource_id), by on-pack product_name (the vision tagger's read), by type (logo, product, product_cutout, hero, lifestyle, ingredient, packaging, certification, before_after, infographic, screenshot, video, general), or by is_primary_product. Use this BEFORE generating any image-based output so you pick from the brand's real assets, not generic stock. Returns asset_id, signed url, type, detected_product_name, is_primary_product, sources. Free, read-only. Paginated via cursor.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'type': {'enum': ['product', 'product_cutout', 'lifestyle', 'hero', 'ingredient', 'packaging', 'certification', 'before_after', 'logo', 'infographic', 'screenshot', 'video', 'general', 'retailer_badge', 'press_badge', 'partner_logo'], 'type': 'string', 'description': 'Filter by image type: logo, product, product_cutout, hero, lifestyle, ingredient, packaging, certification, before_after, infographic, screenshot, video, general.'}, 'limit': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': 'Page size. Default 50, max 200.'}, 'cursor': {'type': 'string', 'description': 'Pagination cursor returned as next_cursor on the previous page.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to list assets for. Get from list_brands.'}, 'product_name': {'type': 'string', 'description': 'Filter to assets the vision tagger read as this on-pack product name.'}, 'powersource_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Filter to assets discovered during this PowerSource scan.'}, 'is_primary_product': {'type': 'boolean', 'description': "Filter to only the scanned product's images (or its absence with false)."}}}
list_brand_documents
List Brand Documents
List indexed brand documents for a brand. Each row carries the indexed signals (doc_type, summary, key_topics, classification_confidence, indexing_status) plus mime_type and size_bytes from the underlying file. Filter by doc_type (one of 19 values incl. voice_tone_doc, brand_guidelines, strategy_memo, customer_interview, pitch_deck, general_reference) or by indexing_status (pending, running, indexed, error). Use BEFORE read_brand_document to discover what context exists for a brand without paying the read cost. Free, read-only. Paginated via cursor.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 20, max 100.'}, 'cursor': {'type': 'string', 'description': 'Pagination cursor returned as next_cursor on the previous page (created_at ISO timestamp).'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to list documents for. Get from list_brands.'}, 'doc_type': {'enum': ['voice_tone_doc', 'brand_guidelines', 'strategy_memo', 'brand_brief', 'pitch_deck', 'research_report', 'campaign_brief', 'tone_of_voice_synthesis', 'customer_interview', 'meeting_notes', 'press_release', 'campaign_retrospective', 'workshop_output', 'spreadsheet_data', 'internal_memo', 'legal_compliance', 'sales_script', 'founder_interview', 'general_reference'], 'type': 'string', 'description': 'Filter by classified document type. One of 19 values: voice_tone_doc, brand_guidelines, strategy_memo, brand_brief, pitch_deck, research_report, campaign_brief, tone_of_voice_synthesis, customer_interview, meeting_notes, press_release, campaign_retrospective, workshop_output, spreadsheet_data, internal_memo, legal_compliance, sales_script, founder_interview, general_reference.'}, 'indexing_status': {'enum': ['pending', 'running', 'indexed', 'error'], 'type': 'string', 'description': 'Filter by indexing pipeline state. Use "indexed" to only see fully-processed docs ready to read.'}}}
list_brands
List Brands
List every brand in this workspace. Use this BEFORE creating a PowerSource to avoid creating duplicate brand records (pass the matching brand_id to create_powersource_*), and to discover brands the user can pivot a Heist to. Each row carries the brand_id (persistent identity), name, domain, asset_count, strategy_count, and brand status. Use this when the user asks "what brands do I have", "show me my brands", or before any image-led work where you need to know which brand owns assets. Free, read-only. Distinguish Brand (persistent, brand_id) from PowerSource (a scan, powersource_id). A brand has many PowerSources; pick the brand first, then narrow to a strategy with list_strategies.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'include_all': {'type': 'boolean', 'description': 'When true, returns transient (status="creating") and signal-less draft brands too. Default false matches the picker dropdown â\x80\x94 only confirmed/draft brands with real data.'}}}
list_cd_card_bookmark_presets
List Saved cards
Cards the user bookmarked from Creative Director chat — directions, concepts, executions, brand platforms, art directions, visual sets. Surfaces in /library + the chat-side tray. Saves happen through the dedicated /api/creative-director/bookmarks route (NOT through /api/library), so is_savable is false here — the library surface is read-only. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_creative_agent_presets
List Creative agents
Reusable creative agents the Heist can pick as a handoff target — picked from the UI, callable as an MCP tool from Managed Agents. Workspace = private agents in the org. Official = public_template agents in any org. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_creative_agent_skill_presets
List Creative agent skills
Portable craft skills (frameworks + method + worked examples) a Creative Agent loads ON TOP of its worldview — additive and stackable, never substitutive (unlike a creative_director_playbook, which replaces the agent for a session). Pinned per character on creative_agent_versions.skill_ids. Workspace = org-authored private skills; official = the Heista-curated starter library. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_creative_director_playbook_presets
List Creative Director playbooks
Seven-section creative-mechanism lenses the Creative Director chat picks at session start. The picked playbook substitutes Layers 3 + 4 of the system prompt — voice + foundation — for the session (the lens IS who the agent is). Workspace = private playbooks; official = the Heista-curated catalog. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_decoded_ad_presets
List Decoded ads
Structural references for script-led Heists. Workspace decodes (your video_sources scans joined with their video_scan_frameworks) + Heista-curated decoded ads from official_ad_heists. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_image_ad_scan_presets
List Static ads
Static-ad references for image-led Heists. Workspace static scans + Heista-curated image ad heists. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_outfit_presets
List Outfits
Styled outfits — a talent dressed in a full look, saved as one composite sheet (turnaround + wardrobe detail crops) with structured refs to the product images that built it. The Outfits Heist saves them on click; future image/video Heists pick one to lock model + wardrobe in a single pick. Workspace = your saved outfits. Official = Heista-curated drops across casual, streetwear, activewear, business, evening, swim & resort, loungewear, and outerwear. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_projects
List Projects
List all projects (campaign folders) for a brand. A project groups strategies, documents, client assets, and outputs under one campaign. Returns project_id (pass as project_id to list_strategies / list_brand_documents / list_brand_assets to scope those reads to this project), name, status, start_date, target_date, and per-type counts. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to list projects for. Get from list_brands.'}, 'include_archived': {'type': 'boolean', 'description': 'Include archived projects. Default false.'}}}
list_saved_assets
List Saved Assets
List saved assets in the workspace. Filter by category (STRATEGY, IDEAS, COPY, VISUALS, MOTION, BRIEFS), by one or more formats inside the category (e.g. COPY + formats=["ad-script","hook"]), by tags (any/all), by brand_id, by brief_id (PowerSource), by created_by ("me" resolves to caller via OAuth), or favorites_only. Returns the unified view that backs the /assets page — BRIEFS rows come from creator_briefs with share URLs; other categories come from saved_assets. Use BEFORE asking the user what to pull into a Heist. Free, read-only, paginated.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'tags': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Tag filter. Default mode is `any` (OR). Switch to `all` with tags_mode.'}, 'limit': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': 'Page size. Default 50, max 200.'}, 'cursor': {'type': 'string', 'description': 'Pagination cursor returned as next_cursor on the previous page.'}, 'search': {'type': 'string', 'description': 'Full-text search on title + body + tags.'}, 'formats': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Multi-select format pills within a category. e.g. for COPY: ["ad-script","hook"]. See save_asset description for the full per-category enum.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Limit to one brand.'}, 'brief_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Limit to one PowerSource (brief).'}, 'category': {'enum': ['STRATEGY', 'IDEAS', 'COPY', 'VISUALS', 'MOTION', 'BRIEFS'], 'type': 'string', 'description': 'Tab filter. STRATEGY (positioning, brand platform), IDEAS (hooks, concepts, territories), COPY (ad scripts, hooks, campaign copy), VISUALS (static ads, product, lifestyle imagery), MOTION (talking heads, b-roll, lifestyle video), BRIEFS (creator briefs â\x80\x94 backed by a separate table; reads include share URLs). Omit to read every category in one merged stream.'}, 'tags_mode': {'enum': ['any', 'all'], 'type': 'string', 'description': 'How to combine tags. Default `any` (overlap). `all` requires every tag.'}, 'created_by': {'type': 'string', 'description': 'User id or the literal "me". When called via OAuth, "me" resolves to the caller. API-key callers MUST pass an explicit user id (no caller identity).'}, 'favorites_only': {'type': 'boolean', 'description': 'Restrict to favorited assets only.'}}}
list_saved_visual_idea_presets
List Saved visual ideas
Visual ideas you saved from prior generations. Workspace-only. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_skills
List Skills
List skills available in the Heista skill library. Returns name, description, domain (shared / image / video / research / strategy / copy / creative / generation), type (foundation / registers / models / methodologies), version, and source_folder (managed-agents / chat-agent). Returns frontmatter only — no body content (use load_skill for that). Filter by domain, type, or source_folder. Use BEFORE load_skill to discover what craft knowledge is available without paying the body-read cost. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'type': {'enum': ['foundation', 'registers', 'models', 'methodologies', 'craft', 'all'], 'type': 'string', 'description': 'Filter by skill type. "foundation" = always-on craft baseline per domain. "registers" = router-table over a references/ folder (e.g. cinema-mode, lighting). "methodologies" = how-to skills for specific job types. "models" = per-versioned-model profile (e.g. google-nano-banana-pro).'}, 'domain': {'enum': ['shared', 'image', 'video', 'research', 'strategy', 'copy', 'creative', 'generation', 'all'], 'type': 'string', 'description': 'Filter by domain. Use "all" or omit to get every skill. Available domains depend on what has been authored; current live domains include shared, image, video. Authoring will add research, strategy, copy, creative, generation as the fleet grows.'}, 'source_folder': {'enum': ['managed-agents', 'chat-agent', 'all'], 'type': 'string', 'description': 'Filter by source folder. "managed-agents" = fleet skills (Mastermind, Heads Of, fleet specialists). "chat-agent" = chat-surface lenses. "all" or omit to get everything. Folder is organisation only; any skill can be attached by any agent via skill_id.'}}}
list_strategies
List Strategies
List all PowerSource strategies (scans) for a brand. A brand has many strategies — one per scanned URL. Product-page strategies carry product_name and is_product_page=true; use these to label them in conversation or to pick the right one for a product-focused generation. Returns powersource_id (use as the brief/PowerSource id everywhere else), product_name, scanned_at, source_url, is_pinned. Free, read-only. Paginated via cursor.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 20, max 100.'}, 'cursor': {'type': 'string', 'description': 'Pagination cursor returned as next_cursor on the previous page.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand to list strategies for. Get from list_brands.'}, 'include_archived': {'type': 'boolean', 'description': 'Include archived strategies. Default false.'}}}
list_strategy_audiences
List Strategy Audiences
List audience archetypes for a strategy (PowerSource). Returns the Buyer Decoder archetype (source="buyer_profile", one entry max) plus up to 3 offering primary_audience segments (source="primary_audience"). Use this to pick which audience to target before generating copy / scripts / hooks — the UI picker reads the same projection. Distinct from list_strategies (which lists scans for a brand): this lists audiences INSIDE one strategy.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['powersource_id'], 'properties': {'powersource_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Strategy (PowerSource / brief) id. Get from list_strategies. Returns the buyer-decoder archetype plus up to 3 primary_audience segments.'}}}
list_strategy_tones
List Strategy Tones
List tone profiles for a strategy. Today returns at most one entry — the tone_of_voice synthesized by the Tone of Voice Synthesis agent (POWER-mode bundles only). The shape is list-stable so future multi-tone bundles plug in without changing the contract. Use this to align generation with the brand-tied voice DNA before writing copy, hooks, or scripts.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['powersource_id'], 'properties': {'powersource_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Strategy (PowerSource / brief) id. Get from list_strategies. Returns the synthesized tone-of-voice (at most one entry today; shape is list-stable for future multi-tone bundles).'}}}
list_talent_model_presets
List Models
Saved casting talent — a person you can re-use across Heists. The Models Heist saves them on click; future Heists can pick one as a brand-aware talent reference. Workspace = your saved castings. Official = Heista-curated drops across fashion, lifestyle, everyday, character, and creator buckets. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_visual_preset_presets
List Visuals
Visual presets (style reference sets) backed by visual_heists. Dual scope since 2026-07-14: workspace rows saved from the Visual Preset builder + the Heista-curated official catalog. Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
list_visual_style_presets
List Visual styles
Saved style configs picked into image-led Heists. Workspace = org-owned styles. Official = canonical Heista catalog (org_id IS NULL, is_canonical=true). Read-only, free. Filter scope with only_workspace / only_official (mutually exclusive — same toggle as the in-app library lens). Page with limit + offset.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size. Default 24, max 100.'}, 'offset': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0, 'description': 'Offset for paging through results. Default 0.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Optional brand_id to scope workspace presets to. Get from list_brands. Official presets are not brand-scoped and are unaffected by this filter.'}, 'only_official': {'type': 'boolean', 'description': 'When true, hide workspace (user-created) presets and only return Heista-curated (official) presets. Mutually exclusive with only_workspace.'}, 'only_workspace': {'type': 'boolean', 'description': 'When true, hide Heista-curated (official) presets and only return workspace (user-created) presets. Mutually exclusive with only_official.'}}}
load_skill
Load Skill
Load the full SKILL.md body for one skill by canonical dot-notation name (e.g. "research.foundation", "research.methodologies.desk-synthesis", "shared.registers.cinema-mode"). Returns frontmatter + body + content_hash. Verifies content_hash against the registry and surfaces drift if the registry is out of sync with disk. Use AFTER list_skills to pick the right skill. For register-type skills with references/ folders, follow with load_skill_reference to pull specific references. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'name': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Canonical skill name in dot-notation (e.g. "research.foundation", "research.methodologies.desk-synthesis", "shared.registers.cinema-mode"). Find via list_skills first.'}}}
load_skill_reference
Load Skill Reference
Load one reference file from a register-type skill's references/ folder (e.g. "m1-narrative.md" from "shared.registers.cinema-mode"). Only register-type skills have references/ — foundations and methodologies are inline content only. Find valid reference filenames in the parent SKILL.md's router table. Path-traversal protected. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['skill_name', 'reference_path'], 'properties': {'skill_name': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Parent skill name in dot-notation (e.g. "shared.registers.cinema-mode"). Only register-type skills have references/; foundations and methodologies are inline content only.'}, 'reference_path': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Reference filename within the skill\'s references/ folder (e.g. "m1-narrative.md"). Find via the parent SKILL.md router table. Path-traversal protected â\x80\x94 must be a plain filename, no "..", no absolute paths.'}}}
perplexity_search
Perplexity Sonar Pro Search
Web-grounded search via Perplexity Sonar Pro. Returns synthesized answer text plus a structured sources[] array (url + title) the caller can evaluate per the research.foundation four-tier source ladder. Optional recency_filter (hour/day/week/month/year) for fast-decay topics. Optional search_domain_filter (up to 10 domains) for triangulating against known-authoritative sources. Use this whenever a specialist needs current, web-grounded information — landscape scans, trend research, evidence queries, counter-evidence checks, named-entity lookups. Pair with the research.foundation skill (always-on craft baseline) and the research.methodologies.desk-synthesis skill (6-phase workflow) for production-grade output. The agent decomposes the brief into sub-questions BEFORE calling this — one focused query per call, not a multi-question batch. Cost is real (~$0.005-0.015 per query); the agent should budget calls per research.foundation §6 (fact-check 1-3, single comparison 3-8, landscape scan 8-20).
Solo lectura Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 1500, 'minLength': 3, 'description': 'Search query. Phrase as a natural-language question or precise topic description. The research agent has already done question decomposition â\x80\x94 this is one focused query, not a multi-question batch.'}, 'recency_filter': {'enum': ['hour', 'day', 'week', 'month', 'year'], 'type': 'string', 'description': 'Limit results to content published within this window. Use for fast-decay topics (model capabilities, platform algo changes, ad-format performance) per research.foundation §5. Omit for slow-decay topics (buyer psychology, established frameworks).'}, 'search_domain_filter': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 10, 'description': 'Restrict search to these domains (e.g. ["motionapp.com", "about.fb.com"]). Use when triangulating against known-authoritative sources, or when evidence-querying for a specific named brand/publication.'}}}
read_brand_document
Read Brand Document
Read one indexed brand document. Returns the indexed metadata (doc_type, summary, key_topics, entities, key_quotes) plus the document body as plain text in content.text — every mime (PDF, DOCX, PPTX, XLSX, markdown, CSV, plain text). No file ids, no attaching anything on a later turn: the text is in this response. When content is null the body could not be extracted — error_code says why, and you should tell the user rather than infer contents from the title. Use AFTER list_brand_documents to pick the right document. Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['document_id'], 'properties': {'document_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Document to read. Get from list_brand_documents.'}}}
reclassify_brand_assets
Reclassify Brand Assets
Batch re-run the vision tagger against every asset in a brand that hasn't been reviewed yet (vision_classified=false). Recovers rows the scan-time tagger dropped because of CDN blocks (Shopify hotlink, Cloudflare bot gates) or transient failures. Skips videos and rows already marked not_asset. Processes up to 24 assets per call — if more remain, the response returns { remaining > 0 } and the caller can invoke again. Paid (batched vision tag credit, typically < $0.01 per invocation).
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['brand_id'], 'properties': {'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand whose unreviewed assets should be re-run through the vision tagger. Only assets with vision_classified=false are processed. Get from list_brands.'}}}
retag_brand_asset
Retag Brand Asset
Re-run the vision tagger on one brand asset. Reads the stored object when present (uploaded assets) or the original URL (scan-sourced assets), then updates type, detected_product_name, is_primary_product, description, and the other vision fields. Useful when the original tagger run missed or misclassified an image. Paid (vision tag credit).
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['asset_id'], 'properties': {'asset_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Asset to re-classify. Get from list_brand_assets.'}}}
save_asset
Save Asset
Persist a new saved asset to the workspace. category MUST be one of STRATEGY, IDEAS, COPY, VISUALS, MOTION (BRIEFS lives in creator_briefs and is not saveable through this tool). format MUST match the per-category enum (see input description). title is required. body_text + metadata are recommended. Source attribution (heist_slug, session_id, pattern) lets the user trace the save back to its origin in the /assets timeline. Brand and brief_id link the save to a PowerSource for downstream filtering. Returns the inserted asset row.
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['category', 'format', 'source', 'title'], 'properties': {'tags': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Free-form tags for filtering and search.'}, 'title': {'type': 'string', 'description': 'Card title â\x80\x94 what shows in /assets.'}, 'format': {'type': 'string', 'description': 'Per-category format. STRATEGY: positioning, brand-platform, campaign-strategy, strategic-doc. IDEAS: hook, concept, big-idea, territory. COPY: ad-script, hook, campaign-copy. VISUALS: static-ad, product, lifestyle, hero, moodboard, packaging, logo. MOTION: talking-head, b-roll, product-motion, brand-lifestyle.'}, 'source': {'type': 'object', 'required': ['pattern'], 'properties': {'pattern': {'enum': ['direct', 'highlight', 'tool', 'document'], 'type': 'string', 'description': 'How the save was created. `direct` for explicit save action.'}, 'heist_slug': {'type': 'string', 'description': 'Source Heist slug â\x80\x94 e.g. "adscript", "hooks", "creative-director".'}, 'message_id': {'type': 'string', 'description': 'Optional source message id (for highlight-from-chat saves).'}, 'session_id': {'type': 'string', 'description': 'Optional source session id.'}}, 'description': 'Save attribution.'}, 'brand_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Brand the asset is for. Resolved from brief_id when omitted.'}, 'brief_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'PowerSource (brief) the asset was generated against.'}, 'category': {'enum': ['STRATEGY', 'IDEAS', 'COPY', 'VISUALS', 'MOTION'], 'type': 'string', 'description': 'One of STRATEGY, IDEAS, COPY, VISUALS, MOTION. BRIEFS is not accepted â\x80\x94 briefs live in the creator_briefs table via the briefs API.'}, 'metadata': {'type': 'object', 'description': 'Type-specific bag â\x80\x94 duration, image dimensions, model used, beat count, etc.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'body_html': {'type': 'string', 'description': 'Rich-text body where the asset carries structured markup.'}, 'body_text': {'type': 'string', 'description': 'Primary text body for STRATEGY / IDEAS / COPY saves.'}, 'media_url': {'type': 'string', 'format': 'uri', 'description': 'Direct media URL for VISUALS / MOTION (external host).'}, 'parent_id': {'type': 'string', 'format': 'uuid', 'pattern': '^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$', 'description': 'Parent asset id for variations grouped under one save set.'}, 'thumb_url': {'type': 'string', 'format': 'uri', 'description': 'Card thumbnail URL.'}, 'media_storage_path': {'type': 'string', 'description': 'Storage path inside the private `saved-assets` bucket. Obtain via the /api/saved-assets/upload-url route (REST only; no MCP upload tool yet).'}}}
search
Web Search (general)
General-purpose web grounding via parallel.ai (Vercel AI Gateway). Returns synthesized text excerpts plus structured sources[] with direct URLs. Use for: topic landscapes, entity-deep teardowns, recency-sharp queries, named-vendor lookups, general fact retrieval. NOT for: Reddit/X/community discourse → use search_community. NOT for: numerical effect sizes or methodology-heavy fact-check → use search_research. The agent decomposes the brief into sub-questions BEFORE calling — one focused query per call. Optional after_date (ISO YYYY-MM-DD) for fast-decay topics. Optional max_results 1-20, default 10.
Solo lectura Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 1500, 'minLength': 3, 'description': 'Search query. Phrase as a natural-language question or precise topic description. The research agent has already done question decomposition â\x80\x94 this is one focused query, not a multi-question batch.'}, 'after_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'ISO date (YYYY-MM-DD). Restrict results to content published after this date. Use for fast-decay topics (model capabilities, platform algo changes, ad-format performance) per research.foundation §5. Omit for slow-decay topics (buyer psychology, established frameworks).'}, 'max_results': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': 'Maximum number of results to return. Default 10. Higher counts return more sources but cost more in tokens â\x80\x94 keep at 10 for general use.'}}}
search_community
Community Search (Reddit / X / Substack / LinkedIn)
Community-discourse search via parallel.ai with optional platform filtering. Returns synthesized text excerpts plus direct URLs to real Reddit threads, X posts from named operators, Substack essays, LinkedIn posts, Facebook posts. Use for: "what are practitioners saying about X", recurring themes in founder voice, multi-platform discourse mapping, verbatim quotes from named individuals. Per Phase 3.5 empirical A/B (Docs/solutions/architecture-decisions/search-backend-architecture-jun04.md): this tool SOLVES the Reddit/X retrieval gap that perplexity_search fundamentally couldn't fill. Optional platforms[] to restrict (e.g. ["reddit","x","substack"]). Per social-listening-synthesis §3 sample ≥3 platforms per brief.
Solo lectura Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 1500, 'minLength': 3, 'description': 'Search query. Phrase as natural-language. Focused on what people are SAYING â\x80\x94 practitioner voice, named-operator discourse, community reaction. Not a general fact-check query.'}, 'platforms': {'type': 'array', 'items': {'enum': ['reddit', 'twitter', 'x', 'linkedin', 'substack', 'facebook', 'youtube', 'instagram', 'tiktok', 'mastodon', 'threads', 'discord'], 'type': 'string'}, 'maxItems': 8, 'minItems': 1, 'description': 'Limit search to these platforms. Use ["reddit"] for r/* threads, ["x","twitter"] for X posts, ["substack"] for named essays. Omit to let the search engine choose. Per social-listening-synthesis §3 sample â\x89¥3 platforms per brief â\x80\x94 pass at least 3 here for multi-platform discourse mapping.'}, 'after_date': {'type': 'string', 'pattern': '^\\d{4}-\\d{2}-\\d{2}$', 'description': 'ISO date (YYYY-MM-DD). Restrict to content after this date. Use for recency-sharp community signal mapping.'}, 'max_results': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': 'Maximum results. Default 10.'}}}
search_research
Research Search (structured fact-check + numerical)
Structured fact-check + numerical research via Perplexity Sonar Reasoning Pro (Gateway-routed). Returns synthesized answer text plus structured sources[] with direct URLs to primary sources. Use for: specific numerical claims with methodology context, fact-check against primary sources, effect sizes + confidence intervals, earnings transcripts / SEC filings / research papers. Per Phase 3.5 empirical A/B: 2-3× cheaper than sonar-pro with comparable or better quality on structured research. Real Meta IR press releases + earnings transcripts on Desk. 17 cites on Quant. NOT for: Reddit/X/community → use search_community. NOT for: broad topic landscapes → use search.
Solo lectura Acceso externo
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 1500, 'minLength': 3, 'description': 'Research query. Phrase as a precise factual question â\x80\x94 what number, what claim, what methodology. The research agent has already decomposed the brief; this is one focused query.'}, 'recency_filter': {'enum': ['hour', 'day', 'week', 'month', 'year'], 'type': 'string', 'description': 'Limit results to content published within this window. Use for recent earnings, recent regulatory filings, recent industry reports.'}, 'search_domain_filter': {'type': 'array', 'items': {'type': 'string'}, 'maxItems': 10, 'description': 'Restrict to these domains (e.g. ["investor.atmeta.com", "sec.gov"]). Use when triangulating against known T1 sources or specific authoritative publications.'}}}
search_skills
Search Skills
Find skills across EVERY Heista skill library at once — image craft, fleet foundations and model briefings, Heista DNA creative playbooks, creative agents, and agent skills. Describe the SITUATION you need a skill for in your own words (a brief, a job, a problem) rather than a keyword — results are ranked by how well each skill fits that situation. Optionally restrict to specific libraries. Use this BEFORE load_skill (for disk-backed image/fleet skills) or the get_*_preset tools (for database-backed playbooks, agents and agent skills). Free, read-only.
Solo lectura Idempotente
Esquema de entrada
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'How many skills to return. Default 15.'}, 'query': {'type': 'string', 'maxLength': 2000, 'minLength': 2, 'description': 'The SITUATION you need a skill for, in your own words â\x80\x94 a brief, a job, a problem. Not a keyword. "a packshot of a serum bottle on white for a marketplace listing" finds far more than "product".'}, 'families': {'type': 'array', 'items': {'enum': ['image', 'fleet', 'playbook', 'agent', 'agent-skill'], 'type': 'string'}, 'description': 'Restrict to these libraries. Omit to search everything. "image" = Image craft â\x80\x94 how a KIND of image is made well. "fleet" = Fleet skills â\x80\x94 foundations, registers and model briefings. "playbook" = Heista DNA â\x80\x94 creative playbooks a chat agent wears as a lens. "agent" = Creative agents â\x80\x94 callable workspace agents with their own character. "agent-skill" = Agent skills â\x80\x94 additive craft stacked on top of an agent identity.'}}}
Esquema de salida
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['skills', 'returned', 'families_searched', 'unavailable', 'ranked', 'took_ms'], 'properties': {'ranked': {'type': 'boolean'}, 'skills': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'family', 'group', 'use_when', 'decides', 'needs', 'untrusted_text'], 'properties': {'id': {'type': 'string'}, 'group': {'type': 'string'}, 'needs': {'type': 'array', 'items': {'type': 'string'}}, 'family': {'type': 'string'}, 'decides': {'type': 'array', 'items': {'type': 'string'}}, 'use_when': {'type': 'string'}, 'untrusted_text': {'type': 'boolean'}}, 'additionalProperties': False}}, 'took_ms': {'type': 'number'}, 'returned': {'type': 'number'}, 'unavailable': {'type': 'array', 'items': {'type': 'object', 'required': ['family', 'reason'], 'properties': {'family': {'type': 'string'}, 'reason': {'type': 'string'}}, 'additionalProperties': False}}, 'families_searched': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}
Añadido
creative_unpublish_article
29 de September de 2026 a las 02:45
Añadido
creative_update_slug
29 de September de 2026 a las 02:45
Añadido
creative_delete_draft
29 de September de 2026 a las 02:45
Añadido
creative_publish_article
29 de September de 2026 a las 02:45
Añadido
creative_save_draft
29 de September de 2026 a las 02:45
Añadido
creative_get_shelf
29 de September de 2026 a las 02:45
Añadido
creative_get_draft
29 de September de 2026 a las 02:45
Añadido
creative_list_articles
29 de September de 2026 a las 02:45
Añadido
creative_get_authoring_contract
29 de September de 2026 a las 02:45
Añadido
fleet_product_funnel_summary
29 de September de 2026 a las 02:45
Añadido
fleet_product_signups_recent
29 de September de 2026 a las 02:45
Añadido
fleet_product_user_summary
29 de September de 2026 a las 02:45
Añadido
fleet_product_funnel_counts
29 de September de 2026 a las 02:45
Añadido
fleet_create_issue
29 de September de 2026 a las 02:45
Añadido
fleet_get_issue
29 de September de 2026 a las 02:45
Añadido
fleet_list_issues
29 de September de 2026 a las 02:45
Añadido
fleet_seo_recovery
29 de September de 2026 a las 02:45
Añadido
fleet_site_links
29 de September de 2026 a las 02:45
Añadido
fleet_site_pages
29 de September de 2026 a las 02:45
Añadido
fleet_site_audit_summary
29 de September de 2026 a las 02:45
Añadido
fleet_crawler_hits
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_sitemaps
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_inspect_url
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_query
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_top_pages
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_top_queries
29 de September de 2026 a las 02:45
Añadido
fleet_gsc_summary
29 de September de 2026 a las 02:45
Añadido
fleet_analytics_trend
29 de September de 2026 a las 02:45
Añadido
fleet_analytics_top_pages
29 de September de 2026 a las 02:45
Añadido
fleet_analytics_overview
29 de September de 2026 a las 02:45