publish

v1.25.0
ai.spideriq/publish Checked 2 days ago Published 5 months ago

SpiderIQ Publish: content platform MCP (pages, posts, templates, components, domains, media)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

request_access

Request access to SpiderIQ API. This sends an approval email to the admin. After calling this, use check_access_status to poll for approval. Once approved, the token is automatically saved for subsequent API calls.

ParameterTypeDescription
email *stringAdmin email address (the person who will approve access)
api_urlstringAPI URL (default: https://spideriq.ai)
projectstringProject name (shown in approval email)
scopesarrayRequested permission scopes (default: jobs:submit, jobs:read)

check_access_status

Check the status of a PAT access request. Returns 'pending', 'active', 'denied', 'expired', or 'revoked' (matches the backend PATRequestStatus enum). Once status==='active', the token is saved to ~/.spideriq/credentials.json automatically. Multi-brand approvals save one entry per workspace under client_id, with the first aliased as 'default' so existing tools (upload_local_file, etc.) keep working without --workspace.

ParameterTypeDescription
poll_token *stringPoll token from request_access
request_id *stringRequest ID from request_access
api_urlstringAPI URL (default: https://spideriq.ai)

get_auth_status

Check if you are authenticated and get current user info.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

logout

Remove stored authentication credentials.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

list_workspaces

List all configured workspaces and their authentication status.

health_check

Check if the SpiderIQ API is healthy and responsive.

ParameterTypeDescription
api_urlstringAPI URL (default: https://spideriq.ai)
workspacestringWorkspace name (default: default)

get_queue_stats

Get statistics about job queues (pending jobs, consumers, etc.).

ParameterTypeDescription
formatstringResponse format (default: json)
workspacestringWorkspace name (default: default)

get_api_info

Get information about the SpiderIQ API and your connection.

ParameterTypeDescription
workspacestringWorkspace name (default: default)

content_list_pages

List your brand's content pages (including drafts).

ParameterTypeDescription
limitnumberMax results
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringFilter by status
workspacestring

content_create_page

Create a new content page with blocks. Phase 11+12 Lock 4 gate is opt-in via dry_run/confirm_token. 🚨 BLOCK FIELD NAMES MATTER. The default theme's snippets read SPECIFIC `data.*` keys per block-type. Unrecognized keys are stored verbatim but render as empty markup (silent-blank-section trap). For the canonical per-block-type field list, call `template_inspect_block_fields(block_type)` OR read the `blocks` param schema below. Page auditor warns at read-time via `render.unused_field_in_default_theme` (rule shipped 2026-05-22). Most-confused mappings: hero → data.{headline, sub…

ParameterTypeDescription
title *stringPage title
blocksarrayPage content blocks (JSON array). Each block shape: {id: '<uuid>', type: '<block_type>', data: {...}} Block types + the `data.*` fields the DEFAULT theme reads: • hero : headline, su…
collection_typestringPhase MA-2 PR-D: required when `template` is 'dynamic_list' or 'dynamic_item'; MUST be null/absent for any other template. Allowed values: 'posts', 'docs', 'directory_listings'. Backend `_validate_col…
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
seo_descriptionstringSEO meta description
seo_titlestringSEO title override
slugstringURL slug (auto-generated from title if omitted). Flat slugs only — `/` is rejected (pattern ^[a-z0-9][a-z0-9-]*$). Nested URLs not supported for general pages; docs use parent_id chains.
templatestringPage template — selects which themes/default/templates/<template>.liquid the renderer uses. Free string (backend default 'default'). Common values bundled with the default theme: 'default' (standard…
workspacestring

content_get_page

Get a content page by ID (includes blocks, SEO, status). IMPORTANT — `page_id` MUST be a UUID, not a slug. Passing a slug returns 404 (not 500 — task `3daae81c` fixed the previous unhandled-ValueError crash). To look up by slug, call `content_list_pages` and filter the response client-side (`pages.filter(p => p.slug === 'my-slug')`), then pass the matching `page.id` here. P5: pass `audit_level` to surface a `_page_audit` block — "warnings" (default) returns errors + warnings from the PageAuditor walk so the agent learns about scroll-sequence empty frames, missing primary domains, laten…

ParameterTypeDescription
page_id *stringPage UUID (NOT a slug — see tool description for the slug → UUID lookup pattern via content_list_pages).
audit_levelstringP5: include a `_page_audit` block on the response. 'off' skips the auditor entirely (cheapest). 'errors' / 'warnings' / 'all' filter by severity. Default 'warnings'.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_export_page

Export a page as a self-contained envelope: page row + every component referenced by page.blocks (full body inlined — html_template, js, css, props_schema, dependencies, agent_meta, kind, layouts) + site settings + domains + a PageAuditor walk (10 v1 rules: scroll-sequence empty frames, missing primary domain, page SEO holes, latent Tier 3 components, etc.). Use this instead of content_get_page when you need the FULL picture before editing — e.g. to understand what `vp-hero` actually is, or to surface broken sections before redeploying.

ParameterTypeDescription
page_id *stringPage ID
formatstringjson (default) — flat JSON envelope. md — human-readable Markdown. archive — ZIP byte stream matching the VSCode extension's local registry layout (page.json + components/<slug>@<version>.json +…
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_page

Update a content page (title, blocks, SEO, template). Phase 11+12 Lock 4 gate is opt-in via dry_run/confirm_token.

ParameterTypeDescription
page_id *stringPage ID
blocksarrayUpdated content blocks
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
seo_descriptionstring
seo_titlestring
slugstring
templatestringPage template/layout. Known values: 'default' (templates/page.liquid), 'landing', 'blank', 'dynamic_landing', 'dynamic_list', 'dynamic_item', '404'. dynamic_list/dynamic_item also require collection_t…
titlestring
workspacestring

content_delete_page

Archive/delete a content page. Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually delete.

ParameterTypeDescription
page_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_publish_page

Publish a draft page (creates a version snapshot). Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually publish.

ParameterTypeDescription
page_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_unpublish_page

Revert a published page to draft. Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually unpublish.

ParameterTypeDescription
page_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_lock_page

Lock a content page against further edits. Use when handing the page off for client review or scheduled launch. Idempotent — re-locking refreshes the reason. Other agents and dashboard users will receive 423 Locked on every mutation until you (or a super_admin) call content_unlock_page.

ParameterTypeDescription
page_id *stringPage ID (UUID).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
reasonstringWhy the page is being locked. Surfaced in 423 Locked responses so the next agent knows whether to back off or override.
workspacestring

content_unlock_page

Unlock a content page. Default: only the actor who originally locked it can unlock. Pass force=true (super_admin or brand_admin only) to override regardless of who holds the lock. Returns 403 with `not_lock_holder` if the caller is not the lock-holder and force is not set.

ParameterTypeDescription
page_id *stringPage ID (UUID).
forcebooleanOverride the lock-holder check (super_admin / brand_admin only). Use when the original lock-holder is unavailable.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_page_versions

List version snapshots for a page (newest first). Each version is created on publish + on restore — use this as the canonical "history" before content_restore_page_version. Returns metadata only (block_count, blocks_size, change_summary, created_at, changed_by); the heavy `blocks` payload is fetched lazily via content_get_page_version.

ParameterTypeDescription
page_id *stringPage ID (UUID).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_page_version

Fetch a single page version snapshot in full (includes the historical `blocks` body). Use when you need to diff a candidate restore against the current page before calling content_restore_page_version.

ParameterTypeDescription
page_id *stringPage ID (UUID).
version_number *number1-indexed version number from content_list_page_versions.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_restore_page_version

Restore a page to a historical version snapshot. Phase 11+12 gated: defaults to dry_run=true — review the preview (which lists snapshot_block_count vs current_block_count + snapshot_created_at) and call again with confirm_token to actually restore. The restored page becomes draft; a new version row is appended recording the restore. Returns 423 Locked when the page is locked — pass force=true (super_admin / brand_admin only) to override.

ParameterTypeDescription
page_id *stringPage ID (UUID).
version_number *number1-indexed version to restore.
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
forcebooleanBypass page lock (super_admin / brand_admin only).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_posts

List your brand's blog posts.

ParameterTypeDescription
limitnumber
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringFilter by status
tagstringFilter by tag
workspacestring

content_create_post

Create a blog post (Tiptap JSON body, metadata, tags, author, categories, cover image, featured flag, SEO).

ParameterTypeDescription
title *stringPost title
author_idstringAuthor UUID
author_namestringFree-text author name (used when no author_id)
bodyobjectPost body (Tiptap JSON document)
category_idsarrayCategory UUIDs to assign — list, not single. Use [] to clear.
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
cover_image_urlstringCover image URL. Field name MUST end with `_url` to persist.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
excerptstringShort excerpt / summary
featured_image_altstringAlt text for the cover image
is_featuredbooleanMark as featured post (field name is `is_featured`, not `featured`)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
related_post_idsarrayRelated post UUIDs (preserves order)
seo_descriptionstringSEO meta description
seo_titlestringSEO <title>; falls back to `title` if omitted
slugstringURL slug — kebab-case, no leading slash
tag_idsarrayTag entity UUIDs (new system; preferred over `tags`)
tagsarrayPost tags as strings (legacy text-tag system)
tldr_summarystringTL;DR (2–3 sentences) shown above body
vayapin_pinsarrayVayaPin pin ids that fit this article (e.g. ['BB:TAPAS','BB:CHAMPERS']) — auto-renders a card strip at the post bottom. Resolve valid ids first via GET /content/vayapin/cards; unknown/unlisted pins…
workspacestring

content_publish_post

Publish a blog post.

ParameterTypeDescription
post_id *string
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_docs_tree

Get your brand's documentation tree structure.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_create_doc

Create a documentation page.

ParameterTypeDescription
title *stringDoc title
bodyobjectDoc body (Tiptap JSON)
parent_idstringParent doc ID (for nesting)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstringURL slug
workspacestring

content_list_docs

List your brand's docs as a FLAT list (metadata only — no body). Complements content_docs_tree (which returns the hierarchy). Use this to discover a doc's UUID by title/status before fetching or mutating it via content_get_doc. Each item carries id, slug, full_path, title, status, parent_id, is_section, sort_order, seo_*, timestamps.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringFilter by status.
workspacestring

content_get_doc

Get a documentation page by ID (includes Tiptap body, SEO, status, full_path, preview_url). IMPORTANT — `doc_id` MUST be a UUID, not a slug or full_path. Passing a non-UUID returns 404 (not 500). To look up by title/path, call content_list_docs (flat) or content_docs_tree (hierarchy) and filter client-side, then pass the matching `id` here.

ParameterTypeDescription
doc_id *stringDoc UUID (NOT a slug/full_path — see tool description for the lookup pattern).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_doc

Update a documentation page (title, body, SEO, hierarchy). Slug is immutable — to re-path a doc, change its `parent_id` (full_path is recomputed for the doc + its whole subtree). Moving a doc under one of its own descendants is rejected (cycle → 400). Phase 11+12 gate is opt-in via dry_run/confirm_token (omit both ⇒ immediate update).

ParameterTypeDescription
doc_id *stringDoc UUID.
bodyobjectDoc body (Tiptap JSON document). body_text (full-text search) is kept in sync automatically.
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
is_sectionbooleanWhether this doc is a section header (groups children, no own page).
parent_idstringMove the doc under a new parent (rebuilds full_path for the doc + descendants). Pass null/omit to leave unchanged.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
seo_descriptionstring
seo_titlestring
sort_ordernumberPosition among siblings (ascending).
titlestring
workspacestring

content_publish_doc

Publish a draft doc (status → published). Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually publish.

ParameterTypeDescription
doc_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_unpublish_doc

Revert a published doc to draft. Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually unpublish.

ParameterTypeDescription
doc_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

changelog_list

List your brand's changelog entries (version, title, status, published_at). This IS the built-in CHANGELOG content type — a /changelog route, RSS+Atom feeds, and dashboard editor already exist; you do NOT need to build a changelog. Note the tool naming: changelog_list / changelog_create / changelog_publish use a `changelog_` prefix (NOT `content_*_changelog_entry`). An empty list means zero entries created yet, not a missing feature. Use this to discover an entry's UUID before publishing it via changelog_publish. Optionally filter by status (draft/published/archived).

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringFilter by status.
workspacestring

changelog_create

Create a DRAFT changelog entry. `version` must be unique for the brand (e.g. "v2.10.0"); a duplicate returns 409. `body` is a Tiptap JSON document. Publish it afterwards with changelog_publish.

ParameterTypeDescription
body *objectEntry body (Tiptap JSON document).
title *stringRelease title.
version *stringVersion label, unique per brand (e.g. "v2.10.0").
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

changelog_publish

Publish a changelog entry (status → published). It appears on the public /changelog timeline + RSS/Atom feeds and, on the first publish, fires the changelog.published notification to subscribers. Reversible (no dry_run gate). Pass the entry UUID from changelog_list.

ParameterTypeDescription
changelog_id *stringChangelog entry UUID (from changelog_list).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_delete_doc

Archive/delete a documentation page (soft delete → archived). Children are left intact (a deleted section still anchors its descendants by parent_id). Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually delete.

ParameterTypeDescription
doc_id *string
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_export_doc

Export a doc as a self-contained envelope: doc row (Tiptap body, SEO, full_path) + site settings + domains. Docs are prose-first, so there are no component bodies to inline (unlike content_export_page). format='json' (default) returns the JSON envelope; format='md' returns human-readable Markdown rendered from the body.

ParameterTypeDescription
doc_id *string
formatstringjson (default) — JSON envelope; md — Markdown rendered from the Tiptap body.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_import_markdown

Import a doc OR page from a Markdown body — the universal Markdown→content bridge. target='doc' parses Markdown into a Tiptap doc body; target='page' parses prose runs into rich_text blocks. `:::component{slug=… version=… props={…}}` directives become embedded components (the MDX unlock). Create a NEW item (omit the id, pass slug + title) or REPLACE an existing one's body/blocks (pass doc_id for a doc / page_id for a page). The Phase 11+12 gate is opt-in via dry_run/confirm_token and applies on the REPLACE path (omit both ⇒ immediate). Round-trips with content_export_markdown. Mark…

ParameterTypeDescription
markdown *stringMarkdown source (≤256 KB). `:::component{...}` directives are preserved.
target *stringWhat to create/update from the Markdown.
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
doc_idstringExisting doc to replace (target='doc'); omit to create.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
page_idstringExisting page to replace blocks on (target='page'); omit to create.
parent_idstringParent doc/page id (nesting on create; doc re-path on update).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstringFlat slug — required when creating, ignored when updating (slug is immutable).
templatestringPage template (target='page' create only; default 'default').
titlestringRequired when creating; updates the title when set on an existing item.
workspacestring

content_import_openapi

Generate a full API-reference docs section from ANY OpenAPI 3.x or Swagger 2.0 spec (the flagship 'docs as a product' feature — Stripe/ReadMe/Mintlify-tier). Provide EXACTLY ONE of source_url (fetched server-side, SSRF-safe) or spec_content (pasted JSON/YAML). Creates one doc page per tag under the `section` slug (default 'api-reference'), each endpoint with method/path/params/schemas and auto multi-language code samples (curl/Python/JS/Go) in a `:::codegroup` block. Re-import is IDEMPOTENT — the importer owns the section subtree (upserts tag pages, archives removed ones). Use dry_run=true…

ParameterTypeDescription
dry_runbooleanPreview the planned section + pages without writing anything.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
publishbooleanPublish the generated docs immediately (default false → created as drafts for review).
sectionstringSlug of the docs section to generate under (default 'api-reference'). Importer-owned subtree.
source_urlstringHTTPS/HTTP URL of the OpenAPI/Swagger spec (fetched SSRF-safely). Provide this OR spec_content.
spec_contentstringRaw spec text (JSON or YAML) — alternative to source_url.
spec_formatstringSpec body format (default 'auto').
workspacestring

content_export_markdown

Export a doc OR page as pure, round-trippable Markdown. target='doc' renders the Tiptap body; target='page' renders the blocks with each component block serialized back to a `:::component{...}` directive. The text round-trips through content_import_markdown. (For the richer JSON export envelope — components inlined, settings, domains, audit — use content_export_doc / content_export_page instead.)

ParameterTypeDescription
id *stringDoc UUID (target=doc) or Page UUID (target=page).
target *stringWhich resource to export.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_navigation

Get navigation menu (header, footer, docs_sidebar).

ParameterTypeDescription
location *stringMenu location
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_navigation

Update navigation menu items.

ParameterTypeDescription
items *arrayNavigation items (nested JSON)
location *stringMenu location
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_settings

Get your brand's content settings (site name, SEO defaults, analytics, colors).

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_settings

Update content settings (site name, SEO, analytics code, primary color, custom head scripts, etc.). IMPORTANT: wrap the fields you want to change inside a top-level `settings` object — pass `{ settings: { site_name: 'X', primary_color: '#abc' } }`, NOT `{ site_name: 'X', primary_color: '#abc' }` and NOT `{ changes: { ... } }` (other tools like `form_update` use `changes:`; this tool uses `settings:`). The wrapper is required; calls without it return 422 'Field required'. Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to apply.

ParameterTypeDescription
settings *objectREQUIRED top-level wrapper. The dict of settings fields to update (e.g. { site_name: 'X', primary_color: '#abc', custom_head_scripts: '<script>…</script>' }). Note: tool wrapper, NOT `changes` (whic…
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_domains

List custom domains configured for your brand's content site.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_add_domain

Add a custom domain for your content site. Requires DNS verification after adding.

ParameterTypeDescription
domain *stringDomain name (e.g., "blog.mycompany.com")
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_verify_domain

Verify DNS for a custom domain (checks CNAME/A record).

ParameterTypeDescription
domain *stringDomain to verify
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_set_primary_domain

Set a verified domain as the primary domain for your content site.

ParameterTypeDescription
domain *stringDomain to set as primary
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_delete_domain

Remove a custom domain from your content site.

ParameterTypeDescription
domain *stringDomain to remove
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_post

Get a blog post by ID (includes body, tags, author, status).

ParameterTypeDescription
post_id *stringPost ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_post

Update a blog post (title, body, excerpt, tags, cover image, author, categories, featured, SEO).

ParameterTypeDescription
post_id *stringPost ID
author_idstringAuthor UUID
author_namestring
bodyobjectPost body (Tiptap JSON document)
category_idsarrayCategory UUIDs to assign — list, not single. Use [] to clear.
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
cover_image_urlstringCover image URL. Field name MUST end with `_url` to persist.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
excerptstring
featured_image_altstringAlt text for the cover image
is_featuredbooleanMark as featured post (field name is `is_featured`, not `featured`)
og_image_urlstring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
related_post_idsarray
seo_descriptionstring
seo_titlestring
slugstring
tag_idsarrayTag entity UUIDs (new system)
tagsarrayLegacy text tags
titlestring
tldr_summarystring
vayapin_pinsarrayVayaPin pin ids that fit this article (e.g. ['BB:TAPAS','BB:CHAMPERS']) — auto-renders a card strip at the post bottom. Omit to leave unchanged; pass [] to clear. Resolve ids via GET /content/vayapi…
workspacestring

content_delete_post

Delete a blog post. Phase 11+12 Lock 4 gate is opt-in via dry_run/confirm_token (defaults preserve immediate-delete for backward compat).

ParameterTypeDescription
post_id *stringPost ID
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_unpublish_post

Revert a published post to draft.

ParameterTypeDescription
post_id *stringPost ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_post_status

Update post status (draft, published, archived).

ParameterTypeDescription
post_id *stringPost ID
status *stringNew status
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_search_posts

Search published posts by keyword (public, no auth needed).

ParameterTypeDescription
query *stringSearch query
limitnumberMax results
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_authors

List your brand's blog authors.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_create_author

Create a blog author profile.

ParameterTypeDescription
full_name *stringAuthor full name
agent_typestringHuman or AI author
avatar_urlstringAvatar image URL
biostringAuthor biography
citystring
countrystring
emailstringAuthor email
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
rolestringAuthor role
slugstringURL slug
workspacestring

content_get_author

Get an author profile by ID.

ParameterTypeDescription
author_id *stringAuthor ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_update_author

Update an author profile.

ParameterTypeDescription
author_id *stringAuthor ID
agent_typestring
avatar_urlstring
biostring
citystring
countrystring
emailstring
full_namestring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
rolestring
slugstring
workspacestring

content_delete_author

Soft-delete an author profile.

ParameterTypeDescription
author_id *stringAuthor ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_tags

List your brand's blog tags (includes post count).

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_create_tag

Create a blog tag.

ParameterTypeDescription
name *stringTag name
descriptionstringTag description
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstringURL slug
workspacestring

content_update_tag

Update a blog tag.

ParameterTypeDescription
tag_id *stringTag ID
descriptionstring
namestring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstring
workspacestring

content_delete_tag

Delete a blog tag.

ParameterTypeDescription
tag_id *stringTag ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_categories

List your brand's blog categories (supports hierarchy).

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_create_category

Create a blog category (supports parent_id for hierarchy).

ParameterTypeDescription
name *stringCategory name
descriptionstring
parent_idstringParent category ID (for nesting)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstringURL slug
sort_ordernumberDisplay order
workspacestring

content_update_category

Update a blog category.

ParameterTypeDescription
category_id *stringCategory ID
descriptionstring
namestring
parent_idstringParent category ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
slugstring
sort_ordernumber
workspacestring

content_delete_category

Delete a blog category.

ParameterTypeDescription
category_id *stringCategory ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_components

List UI components (reusable blocks with Shadow DOM isolation).

ParameterTypeDescription
categorystringFilter by category
include_globalbooleanInclude global (system) components
limitnumberMax results
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringFilter by status
workspacestring

content_create_component

Create a reusable UI component (auto-wrapped in Shadow DOM for CSS isolation). IMPORTANT — set `kind` at create time. Components without a `kind` are flagged as latent Tier 3 by the page auditor (rule `creation.kind_null_with_dependencies`) and excluded from marketplace_search. If you're shipping `dependencies` (gsap, chartjs, etc.) you almost always want `kind='interactive'` + `js_runtime='vanilla'`. See the `kind` field for the full taxonomy and the kind→js_runtime/block_type/sources invariant matrix. P5: pass `authoring_hints` to surface preferred_path / common_mistakes / must_set / m…

ParameterTypeDescription
html_template *stringLiquid HTML template for the component
name *stringDisplay name
slug *stringComponent slug (URL-safe identifier)
agent_metaobjectPhase A agent-discovery metadata. Validated by `ComponentAgentMeta` (Pydantic `extra='forbid'`). Shape: { interaction_pattern?: enum, trigger_kind?: enum, intent?: string, audience_tags?: string[] }.…
authoring_hintsobjectP5 — author-written rules surfaced via the _rules envelope when this component is inserted. Shape: {preferred_path?: string, common_mistakes?: string[], must_set?: string[], must_not_set?: string[]}…
block_typestringGeneric block shape — REQUIRED when kind='dynamic', MUST be NULL otherwise (DB CHECK constraint chk_components_kind via migration 174). Drives the editor's block-shape picker.
brand_fit_tagsarrayUniversal axis — multi-value industry vertical fit. Drives marketplace cross-filter.
categorystringComponent category
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
cssstringComponent CSS (isolated via Shadow DOM — no leaks)
default_propsobjectDefault prop values
dependenciesarrayCDN library keys from allowlist (Tier 3). E.g. ["gsap", "gsap/ScrollTrigger"]. Use content_list_cdn_allowlist to see available keys. When non-empty, set `kind` to `interactive` / `dynamic` / `extensio…
descriptionstringComponent description
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
frameworkstringFramework for Tier 4 app components
is_globalbooleanMake available to all clients
jsstringVanilla JS scoped to shadow root (Tier 2). Receives root (shadowRoot) and props arguments.
js_runtimestringJavaScript runtime pattern — REQUIRED for kind ∈ {interactive, dynamic, extension}, MUST be NULL when kind='static'. vanilla — inline <script> blocks; no module bundling. web-componen…
kindstringBehavioural class (Phase A 4-class taxonomy). DEFAULTS TO NULL — components without a kind are flagged 'latent Tier 3' by the page auditor and excluded from marketplace_search. static — p…
moodarrayUniversal axis — multi-value mood tags for marketplace discovery (Phase A agent-discovery).
palettearrayUniversal axis — open vocabulary palette tokens (e.g. "warm-neutrals", "monochrome", "neon-cyan-magenta"). Max 12.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
props_schemaobjectJSON Schema defining accepted props
scene_typestringUniversal axis — single-value scene/intent. Component-scoped values listed; cross-asset values live on bg-videos / site-templates.
source_codestringFramework source code (JSX/Vue SFC/Svelte)
sourcesarrayLive Data — the data source(s) this component binds to. REQUIRED (non-empty) when kind='dynamic' (backend 422 via chk_components_kind). At render the server fetches each source and exposes the resul…
tagsarrayTags for discovery
thumbnail_urlstringPreview thumbnail URL
versionstringSemver version (default 1.0.0)
workspacestring

content_get_component

Get a UI component by ID (includes template, CSS, props schema).

ParameterTypeDescription
component_id *stringComponent ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_component_by_slug

Get a UI component by slug (optionally a specific version).

ParameterTypeDescription
slug *stringComponent slug
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
versionstringSpecific version (default: latest published)
workspacestring

content_update_component

Update a UI component (template, CSS, JS, props schema, metadata). Use this to upgrade an existing component to a Phase A 4-class taxonomy entry — pass `kind` + (when kind != 'static') `js_runtime`. PATCH semantics: cross-field invariants (kind+block_type pairing for kind='dynamic', extension_spec required for kind='extension') are validated by the DB CHECK constraints in migration 174 — backend returns 400 with the constraint name if the patched row would violate them. Use the universal axes (mood / palette / brand_fit_tags / scene_type) to backfill agent-discovery metadata on rows autho…

ParameterTypeDescription
component_id *stringComponent ID
agent_metaobjectPhase A agent-discovery metadata. Validated by `ComponentAgentMeta` (Pydantic `extra='forbid'`). Shape: { interaction_pattern?: enum, trigger_kind?: enum, intent?: string, audience_tags?: string[] }.…
authoring_hintsobjectP5 — replace component-author-written rules surfaced via the _rules envelope. Pass {} to clear. Shape: {preferred_path?: string, common_mistakes?: string[], must_set?: string[], must_not_set?: strin…
block_typestringGeneric block shape — REQUIRED when kind='dynamic', MUST be NULL otherwise (DB CHECK constraint chk_components_kind via migration 174). Drives the editor's block-shape picker.
brand_fit_tagsarrayUniversal axis — multi-value industry vertical fit. Drives marketplace cross-filter.
categorystring
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
cssstringComponent CSS
default_propsobject
dependenciesarrayCDN library keys (Tier 3). Use content_list_cdn_allowlist for available keys. When adding deps to a component without a `kind`, also patch `kind`/`js_runtime` in the same PATCH to avoid the latent-Tie…
descriptionstring
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
frameworkstringFramework for Tier 4 app components
html_templatestringLiquid HTML template
jsstringVanilla JS scoped to shadow root (Tier 2)
js_runtimestringJavaScript runtime pattern — REQUIRED for kind ∈ {interactive, dynamic, extension}, MUST be NULL when kind='static'. vanilla — inline <script> blocks; no module bundling. web-componen…
kindstringBehavioural class (Phase A 4-class taxonomy). DEFAULTS TO NULL — components without a kind are flagged 'latent Tier 3' by the page auditor and excluded from marketplace_search. static — p…
moodarrayUniversal axis — multi-value mood tags for marketplace discovery (Phase A agent-discovery).
namestring
palettearrayUniversal axis — open vocabulary palette tokens (e.g. "warm-neutrals", "monochrome", "neon-cyan-magenta"). Max 12.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
props_schemaobjectJSON Schema for props
scene_typestringUniversal axis — single-value scene/intent. Component-scoped values listed; cross-asset values live on bg-videos / site-templates.
source_codestringFramework source code (JSX/Vue SFC/Svelte)
sourcesarrayLive Data — the data source(s) this component binds to. REQUIRED (non-empty) when kind='dynamic' (backend 422 via chk_components_kind). At render the server fetches each source and exposes the resul…
tagsarray
thumbnail_urlstring
workspacestring

content_delete_component

Delete a UI component. Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token to actually delete.

ParameterTypeDescription
component_id *stringComponent ID
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_publish_component

Publish a draft component (makes it available for use in page blocks). Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token.

ParameterTypeDescription
component_id *stringComponent ID
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_archive_component

Archive a component (removes from active use, keeps for reference). Phase 11+12: defaults to dry_run=true — review the preview and call again with confirm_token.

ParameterTypeDescription
component_id *stringComponent ID
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating. Defaults to true — call again with confirm_token to actually mutate.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_component_versions

List all versions of a component by slug.

ParameterTypeDescription
slug *stringComponent slug
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_list_cdn_allowlist

List available CDN libraries for component dependencies (Tier 3). Returns keys, names, URLs, categories. Use these keys in the dependencies array when creating/updating components.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_build_status

Get the build status of a framework component (Tier 4). Returns build_status, build_error, bundle_url.

ParameterTypeDescription
component_id *stringComponent ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

content_rebuild_component

Trigger a rebuild of a framework component (Tier 4). Returns 202 — poll with content_get_build_status.

ParameterTypeDescription
component_id *stringComponent ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

content_upload_component_preview

Upload a preview thumbnail (PNG/JPG/GIF/WEBP/MP4) for a component. Reads the file from the local filesystem, sniffs the content-type from the extension, POSTs multipart to /content/components/{id}/upload-preview, and the server uploads to R2 + PATCHes preview_thumbnail_url on the row in one round-trip. Allowed extensions: png, jpg, jpeg, gif, webp, mp4. 5 MB cap (server-enforced; for larger animated MP4 use SpiderMedia upload then PATCH preview_thumbnail_url manually). CRO bug-fix bundle (2026-05-08, Antigravity report Bug 2): the API endpoint existed since Marketplace Admin Slice 1 (2026-04…

ParameterTypeDescription
component_id *stringComponent ID (UUID) to attach the preview to.
local_path *stringAbsolute or cwd-relative path to the preview file on disk.
extstringOverride extension (default: extension from local_path, lowercased). One of: png, jpg, jpeg, gif, webp, mp4.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_upload_bg_video

Upload a bg-video MP4 (or poster image) to R2 for the marketplace bg-video catalog. Reads the file from the local filesystem, POSTs multipart to /content/bg-videos/upload, server uploads to R2 at `bg-videos/<slug>.<ext>` and returns the public URL. Allowed extensions: mp4 (video), webp/png/jpg/jpeg/gif (poster). 50 MB cap (server-enforced). Unlike component uploads, this tool does NOT touch the catalog row — call `content_create_bg_video` or `content_update_bg_video` afterwards with the returned URL in `video_url` or `poster_url`. Both fields are strict-allowlisted to R2 hosts as of 2026-0…

ParameterTypeDescription
local_path *stringAbsolute or cwd-relative path to the file on disk.
slug *stringBg-video slug — used as the R2 key stem (bg-videos/<slug>.<ext>).
extstringOverride extension (default: extension from local_path, lowercased). One of: mp4, webp, png, jpg, jpeg, gif.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_upload_site_template_preview

Upload a preview image (PNG/JPG/GIF/WebP) for a site template. Reads the file from the local filesystem, POSTs multipart to /content/site-templates/{slug}/upload-preview, server uploads to R2 at `templates/<slug>.<ext>` and returns the public URL. Allowed extensions: png, jpg, jpeg, gif, webp. 5 MB cap. Unlike component uploads, this tool does NOT patch the catalog row — call `content_update_site_template` afterwards with the returned URL in `preview_thumbnail_url` (and optionally `preview_url`). Both fields are strict-allowlisted to R2 + curated preview hosts as of 2026-05-12. Returns: {…

ParameterTypeDescription
local_path *stringAbsolute or cwd-relative path to the preview file on disk.
slug *stringSite template slug — used as the R2 key stem (templates/<slug>.<ext>) AND the path segment.
extstringOverride extension (default: extension from local_path, lowercased). One of: png, jpg, jpeg, gif, webp.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_visual_check

Open a URL in a real browser and report what an end-user actually sees. Returns screenshot + DOM info + console errors + failed requests + per-assertion results. USE: verify a content page or form is rendering correctly after a publish operation; catch silent-200-with-broken-content failures that monitoring doesn't see. NOT: don't use for crawling external sites; URL allowlist restricts to spideriq.ai subdomains + tenant verified custom domains. CRITICAL ASSERTION RULE (from learnings_visual_check_assert_on_shadow_hosts.md, codified 2026-05-18): when verifying a form is rendering correctly,…

ParameterTypeDescription
page_url *stringFull URL to check. Must be on the allowlist (spideriq.ai subdomains or a tenant verified custom domain).
expected_no_textarrayStrings that MUST NOT appear (e.g. "couldn't load this booking").
expected_textarrayStrings that MUST appear in body_text_preview. NOTE: opaque to cross-origin iframe contents — assert on dom.shadow_hosts for form/booking widgets instead.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
tenant_idstringOptional. Expands the URL allowlist to that tenant's verified primary domain.
timeout_msnumberTotal navigation + wait timeout, in ms. Default 30000, hard cap 60000.
viewportstringViewport preset. desktop=1440x900, mobile=375x667. Defaults to desktop.
wait_for_textstringOptional — wait until this string appears in the DOM before snapshotting.

template_get_help

SpiderPublishREADME — agent orchestration entry-point. Returns four sections in one response: • reference — canonical schema (content types, block types, Liquid filters/tags, template structure, data sources). The exact YAML/JSON/MD payload the legacy tool returned. Includes per-block-type field maps + agent-natural alias hints (2026-05-22 usability F-19) so an agent that writes `hero.title` instead of `hero.headline` catches the mistake before publishing. • si…

ParameterTypeDescription
formatstringResponse format (default: yaml). Wraps reference + site_context + recipes + routing into one document.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_inspect_block_fields

Get the canonical `data.*` fields the default theme reads for a block type, plus the agent-natural alias map. Use this BEFORE inserting a non-component block (hero, cta_section, stats_bar, comparison_table, etc.) to avoid the silent-blank-section trap from the 2026-05-22 usability report (F-9). Returns: • fields — what the snippet actually reads • _aliases — common mistakes → canonical field name (e.g. {"title": "headline", "cta_text": "cta_primary (object: {label, url})"}) • _anti_patterns — shapes that 422…

ParameterTypeDescription
block_typestringSpecific block type to inspect (e.g. "hero", "cta_section"). Omit to list all.
formatstringResponse format (default: json).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_variables

**START HERE for personalized landing pages.** Returns the full merge-tag vocabulary ({{firstname}}, {{company_name}}, {{city}}, {{industry}}, {{logo}}, {{email}}, ~40 tokens total) for dynamic-landing templates — Mailchimp-style flat tags every LLM already knows. Includes plain-English descriptions, realistic example values from the Mario's Pizzeria demo fixture, and selection rules (e.g. how `{{ email }}` picks the best verified address). Works without auth. Fetch once at session start — you'll know every variable you can drop into a Liquid template.

ParameterTypeDescription
formatstringResponse format (default: yaml — token-efficient)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_list

List all custom Liquid templates for your site.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_get

Get a Liquid template source code by path (e.g. "templates/blog.liquid"). Returns YOUR tenant's KV override if one exists, otherwise the bundled default-theme file. A 404 means neither exists for this tenant — it does NOT mean the feature is missing: the page can still render from the default theme even when this returns 404 (e.g. templates/changelog.liquid). Likewise, a large inline-CSS template here is your own prior customization, not what SpiderPublish ships.

ParameterTypeDescription
path *stringTemplate path (e.g. layout/theme.liquid, snippets/hero-block.liquid)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_upsert

Create or update a Liquid template. Provide the FULL Liquid template source code. The `path` param is the file path under the client's theme (e.g. 'templates/default.liquid', 'layout/theme.liquid', 'snippets/post-card.liquid'). It is a FILENAME, not a slug or shorthand — passing 'form' or 'page' as `path` will store garbage that no template-lookup path consults. Customizing form-page chrome at /f/<flow_id>: override 'templates/forms-standalone.liquid' (NOT 'templates/form.liquid', which is unused). Same for booking pages: 'templates/booking-standalone.liquid'. Both extend layout/theme.liquid…

ParameterTypeDescription
content *stringLiquid template source code (full file body, not a diff).
path *stringTemplate file path under the theme (e.g. 'templates/default.liquid', 'templates/forms-standalone.liquid', 'layout/theme.liquid'). Required. Backend rejects literal 'undefined' / 'null' / empty / non-s…
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
themestringTheme name (default: "default")
workspacestring

template_delete

Delete a custom template (reverts to the theme default for that path). Phase 11+12 Lock 4 gate is opt-in via dry_run/confirm_token (defaults preserve immediate-delete for backward compat).

ParameterTypeDescription
path *stringTemplate path to delete
confirm_tokenstringToken from a prior dry_run call. Single-use, 7d TTL.
dry_runbooleanPreview the change without mutating and receive a confirm_token. When omitted, the change is applied immediately (legacy behaviour preserved).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_list_themes

List available pre-built themes.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_apply_theme

Apply a pre-built theme to your site. Copies all theme templates to your template set. Phase 11+12: defaults to dry_run=true. Review the preview, then call again with confirm_token to actually apply.

ParameterTypeDescription
confirm_tokenstringToken from a prior dry_run call.
dry_runbooleanPreview the change without mutating. Default true.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
themestringTheme name (default: "default")
workspacestring

template_get_config

Get template config: current theme, route overrides, settings, and connected data sources.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

template_update_config

Update template config: theme, route overrides, settings, or data sources.

ParameterTypeDescription
data_sourcesarrayConnected SpiderIQ data sources
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
routesobjectPath → template overrides (e.g. {"/pricing": "templates/pricing.liquid"})
settingsobjectTheme-level settings
themestringTheme name
workspacestring

template_preview

Render a template with mock data and return the HTML output.

ParameterTypeDescription
template_path *stringTemplate path to render
dataobjectMock data to pass to the template
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_deploy_site_preview

Phase 11+12 Stage 2 — issue a preview URL + confirm_token without deploying. Returns `{ preview_url, confirm_token, expires_at, preview: {...}, snapshot_hash }`. Call `content_deploy_site_production` with the returned confirm_token to actually deploy.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_deploy_site_production

Phase 11+12 Stage 2 — consume a confirm_token from a prior `content_deploy_site_preview` call and run the real deploy (Lock 4). 410 on expired, 409 on already-consumed, 403 on mismatch.

ParameterTypeDescription
confirm_token *stringToken returned by content_deploy_site_preview
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_deploy_site

Deploy your site to Cloudflare edge. Uploads templates + config, site goes live in ~2-5 seconds. Phase 11+12: prefer `content_deploy_site_preview` + `content_deploy_site_production` for the safe two-step flow. This tool is kept for back-compat; set dry_run=true to preview, or pass confirm_token to consume a prior preview.

ParameterTypeDescription
confirm_tokenstringConsume a prior preview token and deploy.
dry_runbooleanIssue a preview + confirm_token without deploying.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_deploy_status

Check the latest deploy status for your site.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_deploy_readiness

Check if your site is ready to deploy. Returns a checklist of what is configured (settings, domain, templates, pages) and what is missing. Call this BEFORE content_deploy_site — deploy will reject if blocking items are not resolved.

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

import_from_url

Import file(s) from URL into your SpiderMedia bucket. Supports single URL or batch. Auto-proxies Instagram/Facebook/Twitter CDN URLs.

ParameterTypeDescription
folderstringTarget folder (e.g., "ads", "logos")
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
urlstringSingle URL to import
urlsarrayBatch URLs to import [{url, filename?}]
use_proxybooleanForce proxy for CDN URLs (default: auto-detect)
workspacestringWorkspace name

list_files

List files in your SpiderMedia bucket.

ParameterTypeDescription
limitnumberMax results (default: 20)
offsetnumberOffset for pagination
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
typestringFilter by file type (image, video, document)
workspacestringWorkspace name

delete_file

Delete a file from your SpiderMedia bucket by storage key.

ParameterTypeDescription
key *stringFile storage key (from list_files response)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

list_videos

List videos in your SpiderMedia bucket.

ParameterTypeDescription
limitnumberMax results (default: 20)
offsetnumberOffset for pagination
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

get_video_status

Get processing status for a video (encoding, ready, failed).

ParameterTypeDescription
video_id *stringVideo ID
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

get_media_stats

Get media storage statistics (file counts, storage used, by type).

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name

video_to_scroll_sequence

Build a scroll-linked image-sequence hero from a video URL, end-to-end. One call replaces the 5-step recipe: upload video -> submit extract_frames -> poll -> build block -> update page. Extracts numbered WebP frames from the source video (ffmpeg, ~7x smaller than raw), uploads them to the client's SpiderMedia bucket with a deterministic pattern (frame_{0001..NNNN}.webp), then injects a 'sys-scroll-sequence' component block into the target page AS A DRAFT. **Never auto-publishes.** After this tool returns, call: 1. content_deploy_site_preview (review at preview-{hash}.sites.spideriq.ai)…

ParameterTypeDescription
page_slug *stringTarget page slug — MUST already exist. Use content_create_page first if not.
video_url *stringSource video URL (SpiderMedia, di-atomic, or public http/https)
background_colorstringHex color painted before frames load (default: #ffffff)
canvas_heightnumberCanvas render height, 240-1080 (default: 720)
canvas_widthnumberCanvas render width, 320-1920 (default: 1280)
dry_runbooleanIf true, returns block JSON without touching the page (default: false)
duration_secondsnumberClip duration in seconds (1-120). Required if strategy=duration_fps
fpsnumberSample FPS (1-60). Required if strategy=fps or duration_fps
output_formatstringFrame format (default: webp — half the bytes of jpeg at same quality)
output_qualitynumberEncoder quality 50-95 (default: 80)
output_widthnumberOutput frame width 320-1920 (default: 1280)
poll_interval_secondsnumberPoll interval in seconds (0.5-10, default: 2)
poll_timeout_secondsnumberMax seconds to wait for extract_frames (30-900, default: 300)
positionWhere to insert: "append" (default), "prepend", {index: N}, {before: slug}, or {after: slug}
preload_strategystringprogressive (default) loads ±15 frame window; all pre-loads everything
prioritynumberJob priority 0-10 (default: 5)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
scroll_distance_vhnumberViewport heights to scroll through full sequence, 200-800 (default: 400)
strategystringFrame-count strategy (default: target_frames)
target_framesnumberExact frame count (10-600). Required if strategy=target_frames. Default: 120
workspacestringWorkspace name (default: "default")

content_override_section

Override a site section (header, footer, hero, sidebar, etc.) — or the blog listing / single-post templates — for this client. Param-name compatibility (the older templates.ts duplicate of this tool was merged here 2026-05-20 — both naming conventions work): - Canonical: { section_slug, liquid_source } - Legacy: { section, liquid } Pass either pair. If both are supplied, the canonical names win. When to use this instead of template_upsert: - You want to customize the header, footer, blog listing, or another named section just for this client - You have Liquid source and know the s…

ParameterTypeDescription
liquidstringLegacy alias for liquid_source (templates.ts duplicate compat). Pass either one.
liquid_sourcestringCanonical: full Liquid template source for the section. Will overwrite any existing override for this slug.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
sectionstringLegacy alias for section_slug (templates.ts duplicate compat). Pass either one.
section_slugstringCanonical section identifier — common values: "header", "footer", "hero". Special: "blog-listing", "blog-post", "layout", "head". No .liquid suffix.
themestringTheme name (default: "default"). Usually leave as default.
workspacestringWorkspace name (default: "default").

content_apply_layout_preset

Apply a named layout preset to this client's site by writing layout/theme.liquid. When to use this instead of template_upsert: - You want "blank" (no header/footer), "minimal" (footer only), "landing" (header only), "chromed" (edge-to-edge main), or "default" layouts without writing Liquid yourself - You want to quickly test "what does the site look like with no global header?" - You don't have Liquid source for a layout — you just want a sensible starting point Available presets: "default" — header + main + footer (standard; matches bundled theme) "blank" — no header, no foo…

ParameterTypeDescription
preset *stringLayout preset name. One of: default, blank, minimal, chromed, landing
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
themestringTheme name (default: "default").
workspacestringWorkspace name (default: "default").

content_get_section_source

Get the current Liquid source for a named section (header, footer, hero, etc.). Param-name compatibility (templates.ts duplicate merged here 2026-05-20): - Canonical: { section_slug } - Legacy: { section } When to use this instead of template_get: - You want to see "what Liquid is this client currently rendering for the header?" - You want to check whether an override exists for a section before writing one - You want to copy the current source as a starting point for modification Returns: - If client has an override: returns the override source with origin="client_override" - If clien…

ParameterTypeDescription
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
sectionstringLegacy alias for section_slug (templates.ts duplicate compat). Pass either one.
section_slugstringCanonical section identifier — common values: "header", "footer", "hero". Special: "blog-listing", "blog-post", "layout", "head". No .liquid suffix.
workspacestringWorkspace name (default: "default").

component_update_and_propagate

Update a component's HTML/CSS/props/etc. AND repoint every consuming page to the new version, in one atomic call. When to use this instead of component_update: - The component is referenced from multiple pages and you want all of them to pick up the change - You want a single confirm_token covering the component + all page mutations (instead of one per page) - You want staged rollout — pass `pages: ["home"]` to update the component everywhere but only repoint the home page; other pages keep referencing the old version How it works: 1. Call with `dry_run: true` — returns `affected_pages`…

ParameterTypeDescription
slug *stringComponent slug (e.g. "hero", "pricing-cards"). Must already be published for this client.
bumpstringHow to bump semver from current version. Default: patch.
confirm_tokenstringToken from a prior dry_run. Consume to perform the mutation.
cssstringNew CSS (injected via Shadow DOM at render time).
default_propsobjectNew default prop values.
dependenciesarrayCDN library dependency keys (Tier 3). Validated against allowlist.
descriptionstringUpdate description.
dry_runbooleanPreview mode — returns affected_pages + confirm_token without mutating. Default: false.
html_templatestringNew HTML template. Inline <style> tags will be rejected.
jsstringNew JS (Tier 2 scoped hydration).
namestringUpdate display name.
pagesarrayLimit propagation to these page slugs. Omit to propagate to every consuming page.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
props_schemaobjectNew JSON Schema for prop validation.
workspacestringWorkspace name (default: "default").

component_rollback

Roll a component back to an earlier version's content. Creates a new published version (so the forward audit trail stays intact) and repoints every consuming page to it. When to use: - component_update_and_propagate went wrong and you need to unroll it - You want to revert to a known-good version without manually re-entering the old HTML/CSS - You want staged rollback — pass pages=["home"] to only revert the home page's pin How it works: 1. Call with dry_run=true — returns a confirm_token for the rollback action 2. Inspect preview; if right, call again with confirm_token 3. Service fetch…

ParameterTypeDescription
slug *stringComponent slug to roll back.
target_version *stringVersion to restore (e.g. "1.0.3"). Must exist — check list_component_versions first.
bumpstringHow to bump the NEW version that gets the old content. Default: patch.
confirm_tokenstringToken from a prior dry_run.
dry_runbooleanPreview mode. Default: false.
pagesarrayLimit repoint to these page slugs. Omit for all.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

upload_local_file

Upload a single local file to SpiderMedia. Reads the file from disk, sniffs content-type from the extension, and POSTs multipart to /dashboard/content/media/upload-batch. Server enforces weight policy (500 KB/file for scroll-sequences/*, 20 MB otherwise; video/* gets 500 MB). Returns {public_url, key, size, content_type}. Filenames: pass preserve_filename=true for deterministic storage keys (scroll-sequences that consume {base_url, pattern, count}). Default false keeps the legacy YYYYMMDD_HHMMSS_ prefix. Requires LLM11 SpiderMedia backend 2026-04-18+ when preserve_filename=true. Allowed ext…

ParameterTypeDescription
local_path *stringAbsolute or cwd-relative path to the file on disk
filenamestringRename the file on upload (default: use the local basename)
folderstringTarget folder in the bucket, e.g. 'scroll-sequences/hero' or 'migrations/homepage'
preserve_filenamebooleanIf true, storage key is {folder}/{filename} exactly (overwrites on collision). Default false.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default")

upload_local_directory

Upload all matching files from a local directory to SpiderMedia. Walks the directory (recursive), sniffs content-type, uploads in a single /media/upload-batch request (up to 500 MB total for general folders, 20 MB for scroll-sequences/*). Returns {uploaded: [...], failed: [...], warnings}. Scroll-sequence workflow: - Default folder rule: if `folder` starts with "scroll-sequences/", the tool auto-enables both `auto_optimize=true` (Sharp → WebP q75, max 1920px) and `preserve_filename=true` (so frame_0001.webp lands at frame_0001.webp). - Override with explicit flags if needed. Filtering…

ParameterTypeDescription
local_dir *stringAbsolute or cwd-relative path to the directory on disk
auto_optimizebooleanRun Sharp locally before upload (WebP q75, max 1920px). Default: true for scroll-sequences/*, false otherwise.
folderstringTarget folder in the bucket. For scroll-sequences use 'scroll-sequences/<name>'.
max_widthnumberWhen optimizing, max image width (default 1920)
patternstringOptional glob pattern (e.g. "frame_*.webp"). Matched against filename and relative path.
preserve_filenamebooleanDeterministic storage keys. Default: true for scroll-sequences/*, false otherwise.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
qualitynumberWhen optimizing, WebP quality 1-100 (default 75)
workspacestringWorkspace name (default: "default")

directory_list_categories

List every directory category for the current tenant (includes empty ones). Returns {categories: [{id, name, slug, description, listing_count, city_count, seo_title_template, seo_description_template, ...}], total, page, page_size}.

ParameterTypeDescription
pagenumber
page_sizenumber
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default")

directory_create_category

Create a directory category. SEO templates accept {category}, {city}, {listing} placeholders. Example: {name: "Plumbers", seo_title_template: "Best {category} in {city} | Acme Directory"}.

ParameterTypeDescription
name *string
data_sourceobjectConfig for future SpiderMaps sync (job_type, query_filter, ...)
descriptionstring
iconstring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
seo_description_templatestringSupports {category}, {city}, {listing}
seo_title_templatestringSupports {category}, {city}, {listing}
slugstringURL slug (auto-generated from name if omitted)
sort_ordernumber
templateobjectPer-category template config JSONB
workspacestring

directory_get_category

Get a single category plus every city that has published listings in it.

ParameterTypeDescription
slug *string
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

directory_update_category

Update category fields. Pass only the fields you want to change.

ParameterTypeDescription
slug *string
data_sourceobject
descriptionstring
iconstring
namestring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
seo_description_templatestring
seo_title_templatestring
sort_ordernumber
templateobject
workspacestring

directory_delete_category

Delete a directory category and all its listings (cascade).

ParameterTypeDescription
slug *string
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

directory_list_listings

List directory listings. Filter by category, city, status. Use this to verify what an IDAP dump wrote, or to audit a category before publishing changes.

ParameterTypeDescription
category_slugstring
citystring
pagenumber
page_sizenumber
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
statusstringdraft | published | archived (default published)
workspacestring

directory_upsert_listing

Create or update a single listing in a category. Upsert keyed on (category, slug). For bulk work (IDAP dumps, SpiderMaps job output), use directory_bulk_upsert_listings instead — it's one call vs N.

ParameterTypeDescription
category_slug *string
name *string
addressstring
citystring
countrystring
dataobjectFree-form JSONB — hours, amenities, images, whatever
descriptionstring
emailstring
latitudenumber
longitudenumber
phonestring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
ratingnumber
review_countnumber
slugstringAuto-generated from name if omitted
source_job_idstringSpiderIQ job UUID that produced this listing
statestring
statusstringdraft | published | archived (default published)
websitestring
workspacestring

directory_bulk_upsert_listings

Import many listings into a category in one transaction. Max 5000 per call. Primary path for IDAP dumps + SpiderMaps job outputs. Each listing accepts the same fields as directory_upsert_listing. Upsert keyed on (category, slug); missing slugs auto-generate from name. Returns {upserted, failed, affected_cities: ["city-slug-1", ...], failures}. Refreshes category counts + city_stats materialized view on success.

ParameterTypeDescription
category_slug *string
listings *arrayArray of {name, slug?, city, state?, description?, phone?, email?, website?, rating?, review_count?, address?, latitude?, longitude?, data?, status?, source_job_id?}
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

directory_import_from_idap

Populate a directory category from the tenant's IDAP data (norm_cli_*.businesses). norm_cli_* is the canonical store for every business SpiderIQ has seen for this tenant (SpiderMaps + SpiderSite + SpiderCompanyData + SpiderPeople merged). This reads directly — no scheduler, no sync pipeline, no external call. Agent re-runs this tool whenever they want to refresh the directory. Filters (all optional): category_filter matches the categories[] array, country_code exact (uppercase), city is ILIKE substring, rating_min is inclusive. limit caps at 5000 to align with bulk_upsert. Returns {upsert…

ParameterTypeDescription
category_slug *string
category_filterstringMatch businesses.categories array member (e.g. "Plumber")
citystringILIKE substring match
country_codestringISO-2 uppercase (e.g. "US")
limitnumberMax rows to import (hard cap 5000)
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
rating_minnumberInclusive lower bound on rating
workspacestring

directory_delete_listing

Delete a listing by (category_slug, listing_slug). Refreshes city_stats.

ParameterTypeDescription
category_slug *string
listing_slug *string
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_get_playbook

Look up the canonical tool-sequence for a stated goal. No intent → returns the index of all available playbooks (task keys + when-to-use summaries). Intent = exact task key (e.g. "build_a_directory") → returns the full recipe. Intent = natural language (e.g. "build a directory") → fuzzy-matches against task keys + when-text, returns up to 3 best matches ranked by score. This is the fastest way for a fresh agent to find the right tool chain for a given goal without scanning the full /content/help (~50 KB). Each recipe names the exact tools to call, common variants, and anti-patterns.

ParameterTypeDescription
formatstringyaml | json (default yaml — cheaper to parse for this shape)
intentstringGoal in natural language (e.g. "publish a blog post", "build a scroll hero") OR exact task key. Omit to get the index.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

content_duplicate_page

Duplicate a page. Returns the new draft. When to use: - Client wants a starting point that's similar to an existing page (faster than rebuilding from blocks) - You're applying a template by cloning master pages into the tenant (template gallery) - Internal A/B testing — fork a published page, edit copy, publish under a new slug How it works: 1. Reads the source page (must be owned by the caller's client; cross-tenant read refused 404) 2. Picks a fresh slug (`{original}-copy`, `-copy-2`, `-copy-3`, ... lowest unused) unless `new_slug` is provided 3. INSERTs a new content_pages row with stat…

ParameterTypeDescription
page_id *stringUUID of the page to duplicate.
new_slugstringOptional flat slug for the duplicate. Auto-generated as `{original}-copy[-N]` if omitted. Must match `^[a-z0-9][a-z0-9-]*$` (no `/`).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_duplicate_block

Insert a deep copy of one block into the same page. When to use: - Duplicating a CTA section to use in a different position on the same page - Cloning a tier-priced "feature card" inside a pricing-grid block - Building variations of the same section without rebuilding from scratch How it works: 1. Reads the source page; finds the block by id 2. Deep-copies the block JSON, regenerates the block's id (fresh UUID) 3. Inserts the copy at `position` ('before', 'after' default, or an int index) 4. Returns the updated PageResponse with the new block in place The page's status is unchanged (this do…

ParameterTypeDescription
block_id *stringID of the block to duplicate.
page_id *stringUUID of the page.
position'before' or 'after' (default) the source block, or an int index.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_duplicate_post

Duplicate a blog post. Returns the new draft with a fresh slug. The body (Tiptap JSON), cover image URL, author, and tags all copy over. Status is forced to 'draft' regardless of the source's state.

ParameterTypeDescription
post_id *stringUUID of the post to duplicate.
new_slugstringOptional flat slug. Auto-generated if omitted.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_duplicate_doc

Duplicate a doc page. Copy lives as a sibling under the same parent node in the docs tree (same parent_id), with a fresh slug + full_path.

ParameterTypeDescription
doc_id *stringUUID of the doc to duplicate.
new_slugstringOptional flat slug. Auto-generated if omitted.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_list_site_templates

List SpiderIQ-curated site templates. Public read — no auth required. When to use: - Client wants to see what starter sites are available before committing - Filtering for a specific industry (saas, agency, restaurant, ecommerce, portfolio, local-service, blog, event, landing) or use case (marketing, docs, blog, directory, personal) - Surfacing the featured set on a dashboard "browse templates" page Each template carries: - slug (apply with content_apply_site_template) - name + description + industry + use_case + tags - preview_url (live preview at preview-XXX.sites.spideriq.ai) - previe…

ParameterTypeDescription
industrystringsaas | agency | restaurant | ecommerce | portfolio | local-service | blog | event | landing
is_featuredbooleanFilter to is_featured templates only.
limitintegerDefault 50.
offsetinteger
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
tagstringFilter to templates whose tags array contains this tag.
use_casestringmarketing | docs | blog | directory | personal
workspacestringWorkspace name (default: "default").

content_get_site_template

Fetch a single site template by slug. Public read — no auth required. Returns the full template detail including the list of pages, components, nav locations, and settings keys that would be cloned on apply. Use this to preview the impact before calling content_apply_site_template.

ParameterTypeDescription
slug *stringTemplate slug (e.g. "saas-landing", "restaurant-menu").
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_apply_site_template

Clone a site template into the current tenant. Phase 11+12 gated. When to use: - New tenant just provisioned, agent wants to give them something to start from - Client picked a template from the gallery, agent wires it up - A/B testing different starter sites without rebuilding from blocks How it works: 1. Reads the template's source pages from the SpiderIQ-owned template-source tenant 2. Clones each into the current tenant as status='draft' with fresh block UUIDs 3. Copies navigation menus for header + footer (or whatever locations the template names) 4. Copies whitelisted theme settings ke…

ParameterTypeDescription
slug *stringTemplate slug to apply.
confirm_tokenstringPhase 11+12: consume a prior preview token and apply for real.
dry_runbooleanPhase 11+12: preview the apply and receive a confirm_token without mutating.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_create_site_template

Register a NEW site-template catalog row so a built site/page becomes installable from the marketplace. Phase 11+12 gated. AUTHORING-ONLY. Auth: needs super_admin OR a PAT scoped to a marketplace-AUTHORING brand (clients.is_marketplace_authoring=TRUE — e.g. the demo-publish authoring account). A normal tenant PAT gets 403. The source pages must already exist (published) on source_client_id; this call just registers the catalog row that clones them on apply. PAGE TEMPLATES: set is_single_page=true AND pass exactly ONE source_page_slug (opt-in / thank-you / VSL / sales / …). The server enf…

ParameterTypeDescription
name *stringDisplay name in the gallery.
slug *stringUnique catalog slug, e.g. "opt-in-minimal".
source_client_id *stringclient_id (cli_… or UUID) whose published pages are the master copies to clone.
source_page_slugs *arrayPage slugs to clone on apply. For a page template: exactly ONE.
confirm_tokenstringPhase 11+12: consume a prior preview token and create for real.
descriptionstring
dry_runbooleanPhase 11+12: preview + receive a confirm_token without mutating.
industrystring
is_featuredboolean
is_publicbooleanDefault true → visible in the gallery. Set false to stage a draft, flip true on review.
is_single_pagebooleanTRUE = single-page "page template" (requires exactly one source_page_slug).
preview_thumbnail_urlstringHero screenshot URL (host-allowlisted). Or attach later via content_update_site_template.
preview_urlstringLive preview URL (host-allowlisted: R2 / curated stock).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
replication_promptstring
source_component_slugsarray
source_nav_locationsarrayWhole-site only; omit for page templates.
source_settings_keysarray
tagsarray
use_casestringopt-in | thank-you | vsl | webinar | sales | pricing | coming-soon | 404 (page templates) — or a vertical for whole-site.
workspacestringWorkspace name (default: "default").

content_update_site_template

Patch an existing site-template catalog row (rename, attach a preview image, toggle is_public, retag, change source bindings, flip is_single_page). Phase 11+12 gated. AUTHORING-ONLY. Auth: same as content_create_site_template (super_admin OR marketplace-authoring-brand PAT). Commonly used right after content_create_site_template to set preview_thumbnail_url from a content_upload_template_preview result, or to publish a staged draft (is_public=true). Phase 11+12 flow: dry_run=true → confirm_token → call again with confirm_token. Only the fields you pass are changed.

ParameterTypeDescription
slug *stringCatalog slug to patch.
confirm_tokenstring
descriptionstring
dry_runboolean
industrystring
is_featuredboolean
is_publicboolean
is_single_pageboolean
namestring
preview_thumbnail_urlstring
preview_urlstring
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
replication_promptstring
source_client_idstring
source_component_slugsarray
source_nav_locationsarray
source_page_slugsarray
source_settings_keysarray
tagsarray
use_casestring
workspacestringWorkspace name (default: "default").

content_list_page_templates

List SpiderIQ-curated SINGLE-PAGE templates (the Page Template catalog). Public read — no auth required. When to use: - An agent or client needs a landing page, opt-in, thank-you, VSL, webinar, sales, coming-soon, 404, or pricing page and wants a proven starting point - ALWAYS prefer this over generating a page from scratch — clone-and-adapt is faster and more reliable than authoring Liquid blind ("adapt, don't generate") Each template carries: - slug (clone with content_apply_page_template) - name + description + industry + use_case + tags - preview_url (live preview) + preview_thum…

ParameterTypeDescription
industrystringsaas | agency | restaurant | ecommerce | portfolio | local-service | blog | event | landing
is_featuredbooleanFilter to is_featured templates only.
limitintegerDefault 50.
offsetinteger
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
tagstringFilter to templates whose tags array contains this tag.
use_casestringopt-in | thank-you | vsl | webinar | sales | pricing | coming-soon | 404
workspacestringWorkspace name (default: "default").

content_get_page_template

Fetch a single page template by slug. Public read — no auth required. Returns the full detail including the ONE source page that gets cloned on apply, its components, and any settings keys. Use this to preview a template before calling content_apply_page_template. (A page template is a content_site_templates row, so this resolves the same endpoint as content_get_site_template.)

ParameterTypeDescription
slug *stringPage template slug (e.g. "opt-in-minimal", "vsl-classic").
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_apply_page_template

Clone a page template's single page into the current tenant. Phase 11+12 gated. When to use: - A client/agent picked a page template and wants it added to their site - Building a funnel one page at a time (opt-in → thank-you → sales) from templates - You want a working page to ADAPT (edit copy/images/colors) instead of generating one How it works: 1. Reads the template's single source page from the SpiderIQ template-source tenant 2. Clones it into the current tenant as status='draft' with fresh block UUIDs 3. Applies any whitelisted theme settings the template carries Phase 11+12 flow:…

ParameterTypeDescription
slug *stringPage template slug to apply.
confirm_tokenstringPhase 11+12: consume a prior preview token and clone for real.
dry_runbooleanPhase 11+12: preview the apply and receive a confirm_token without mutating.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestringWorkspace name (default: "default").

content_list_marketplace_components

Browse the SpiderIQ section library — ready-to-insert sections grouped by category. Public read, no auth. When to use: - Filling out an existing page that needs a hero / pricing / FAQ block - Adding a sign-in / forgot-password / reset-password page (category=authentication) - Picking the right component shape before calling page_insert_section - Surfacing the gallery on a dashboard "browse sections" page Categories (use `category` filter): hero, features, pricing, social-proof, content, forms, team, footer, header, cta, faq, authentication The `authentication` category holds 3 designabl…

ParameterTypeDescription
categorystringhero | features | pricing | social-proof | content | forms | team | footer | header | cta | faq | authentication
is_featuredbooleanSurface featured-only sections.
limitintegerDefault 100.
offsetinteger
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
tagstringFilter to components whose tags array contains this tag.
workspacestringWorkspace name (default: "default").

content_list_marketplace_bg_videos

Browse the curated background-video library — 12 short looping clips across 6 categories. Public read, no auth. When to use: - Picking a clip for a hero-video-bg or sys-bg-video block - Surfacing the catalog on a dashboard "browse bg videos" page Categories: nature | city | abstract | food | tech | people Each result carries: slug, name, description, r2_url, poster_url, duration_seconds, loop_seconds, category, tags, is_featured.

ParameterTypeDescription
categorystringnature | city | abstract | food | tech | people
is_featuredboolean
limitinteger
offsetinteger
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
tagstring
workspacestringWorkspace name (default: "default").

content_get_marketplace_bg_video

Fetch a single curated background video by slug. Public read.

ParameterTypeDescription
slug *string
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

page_insert_section

Insert a marketplace section into an existing page. Phase 11+12 gated. When to use: - Adding a hero / pricing / FAQ block to a page the customer already has - Programmatic page assembly: list sections → preview → insert → publish position semantics: - "end" (default) — append at the end of the blocks array - "start" — prepend - "before" / "after" — relative to anchor_block_id (REQUIRED when used) - integer — explicit 0-based index, clamped to [0, len(blocks)] Phase 11+12 flow: 1. Call with dry_run=true → returns {dry_run, preview, confirm_token, expires_at} 2. Inspect the pr…

ParameterTypeDescription
component_slug *stringMarketplace component slug (e.g. "hero-headline", "logo-cloud").
page_id *stringUUID of the target page.
anchor_block_idstringRequired when position is "before" or "after".
audit_levelstringP5: include an `_audit` block on the success response (or `_rules` block on dry_run). 'all' (default for mutations) returns every finding so the agent sees scroll-sequence empty frames, missing requir…
component_versionstringOptional pinned version. Omit for latest published.
confirm_tokenstringPhase 11+12: consume a prior preview token.
dry_runbooleanPhase 11+12: preview the insertion without mutating.
positionWhere to place the new block. Default: "end".
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
propsobjectComponent props matching the component's props_schema. Falls through default_props for omitted keys.
workspacestringWorkspace name (default: "default").

list_data_sources

List the 9 registered content data sources that drive kind='dynamic' components (Phase D). Use this to discover the available source_id values when an agent is configuring a Dynamic block (List, Item Details, etc.). The registry includes: - 4 internal CMS collections: posts, authors, categories, tags - 4 IDAP collections: idap.countries → idap.cities → {idap.streets, idap.businesses} (hierarchical — pass --parent to walk the tree) - 1 singleton: idap.lead (per-request visitor lead context; only Item Details accepts it) Each source carries: - id (use as the source_id in DataBinding /…

ParameterTypeDescription
parent_idstringFilter to children of this source (e.g. "idap.countries" returns idap.cities).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

list_data_source_items

Fetch live items from a registered content data source — the same door a kind='dynamic' component binds to (Live Data). Sibling of list_data_sources. Use this to PREVIEW what a dynamic component will render, or to discover a source's row shape before wiring a component's `sources`. It returns real, published, tenant-scoped records. v1 sources: posts, authors, categories, tags, changelog. (idap.* collections → 501 Phase 2; a singleton like idap.lead → 422 — those reach /lp/ templates as `lead`.) Filtering: pass `filter` keys matching the source's filterable fields (discover via list_…

ParameterTypeDescription
source_id *stringRegistered source id (list_data_sources). v1: posts, authors, categories, tags, changelog.
fieldsarrayProject to these field ids only (default: all).
filterobjectFilter by the source's filterable fields, e.g. {"tag":"news","category":"..."}.
limitintegerMax rows (default 50).
offsetintegerPagination offset (default 0).
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
sortstringSort field with optional ':asc'/':desc' (or '-field'), e.g. '-published_at'.
workspacestring

set_component_kind

Set the 4-class behavioural taxonomy on a component: kind ∈ {static, interactive, dynamic, extension}. Phase 11+12 gated. When to use: - Curating a freshly-created custom component into the right marketplace tab - Reclassifying a legacy 'static' component as 'interactive' once you add JS - Promoting a Dynamic component (kind='dynamic' requires block_type + sources to already be set on the row, or this PATCH 400s on the DB CHECK constraint) The DB CHECK constraints (migration 174) enforce kind invariants — setting kind='dynamic' on a row missing block_type returns 400 with a specific cons…

ParameterTypeDescription
component_id *stringUUID of the component.
kind *string4-class behavioural taxonomy (Phase A).
confirm_tokenstringConsume a prior preview token to commit.
dry_runbooleanDefault true — preview without mutating.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

set_component_agent_meta

Patch the agent-discovery axes on a component: universal axes (mood / palette / brand_fit_tags / scene_type) + per-component agent_meta JSONB. Phase 11+12 gated. Use this to make a component findable by intent through marketplace_search. Strict enum validation at the API boundary — unknown values 422 with the accepted vocabulary listed. agent_meta keys (ComponentAgentMeta, extra="forbid"): - interaction_pattern: static, click, hover, scroll, timer, form, drag - trigger_kind: page-load, scroll-into-view, click, hover, exit-intent, timer-fixed-date, timer-elapsed, form-submit, geo-match, n…

ParameterTypeDescription
component_id *string
agent_metaobjectComponentAgentMeta keys (see description for vocabulary).
brand_fit_tagsarray
confirm_tokenstring
dry_runbooleanDefault true.
moodarray
palettearray
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
scene_typestring
workspacestring

set_bg_video_agent_meta

Patch agent-discovery axes + agent_meta on a bg-video catalog row (super_admin). Phase 11+12 gated. Same shape as set_component_agent_meta, but BgVideoAgentMeta has different keys: - pace: slow, medium, fast (slow=meditative, medium=narrative, fast=energetic) - time_of_day: dawn, day, dusk, night - weather: clear, cloudy, rain, snow, fog, stormy (NULL = indoor / abstract) - has_people: bool (TRUE if humans visible) - aspect_ratio: 16:9, 9:16, 1:1, 4:3, 21:9 - has_audio: bool - music_tempo_bpm: 20–300 (only meaningful when has_audio=true) - transcript: ≤ 2000 chars (accessibility + agent c…

ParameterTypeDescription
slug *stringBg-video slug (e.g. "alpine-wildflowers").
agent_metaobjectBgVideoAgentMeta keys (see description).
brand_fit_tagsarray
confirm_tokenstring
dry_runbooleanDefault true.
moodarray
palettearray
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
replication_promptstringOptional free-form curator prompt (≤ 4000 chars).
scene_typestring
workspacestring

set_site_template_agent_meta

Patch agent-discovery axes + agent_meta on a site_template catalog row (super_admin). Phase 11+12 gated. SiteTemplateAgentMeta keys: - page_count: 1–200 (number of pages the template ships with) - has_blog: bool - has_pricing: bool - has_directory: bool (programmatic SEO target) - has_booking: bool (SpiderBook integration) - conversion_strategy: same vocabulary as ComponentAgentMeta - style_aesthetic: minimal, bold, editorial, playful, premium, technical, brutalist, soft - component_set: array of component slugs the template ships with (≤ 100) The site-template catalog is global — supe…

ParameterTypeDescription
slug *stringSite-template slug (e.g. "saas-minimal").
agent_metaobjectSiteTemplateAgentMeta keys (see description).
brand_fit_tagsarray
confirm_tokenstring
dry_runbooleanDefault true.
moodarray
palettearray
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
replication_promptstring
scene_typestring
workspacestring

marketplace_suggest_agent_meta

Suggest mood / palette / brand_fit_tags / scene_type / agent_meta for one marketplace asset using the SpiderGate V2 inference engine. Two-step apply pattern (recommended): 1. Call `marketplace_suggest_agent_meta` to get a SuggestEnvelope with proposed values + per-key confidence (high / medium / low → action: auto_apply | review | drop). 2. Review the envelope. For values you trust, call the matching apply tool: - bg_video → set_bg_video_agent_meta - component → set_component_agent_meta - site_template → set_site_template_agent_meta The apply tools are gated (dry_run=true…

ParameterTypeDescription
asset_type *stringWhich marketplace table to suggest for.
slug *stringAsset slug (e.g. "alpine-wildflowers", "hero-bold-default", "agency-minimal").
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
workspacestring

marketplace_form_test_submit

Test-fire a submission against a dynamic form block. NOT the production submit path — real form submissions come from a visitor's browser via POST /content/forms/{form_id}/submit (no auth). This MCP tool exists so agents can validate a form's wiring during authoring + smoke-test before publishing. When to use: - After authoring a new form block, fire a synthetic submission to confirm validation + persistence work. - After changing fields / submit_url / fallback_idap_lead, verify the new behaviour without leaving the editor. - Debugging cross-tenant isolation: pick a form_id from one tenant,…

ParameterTypeDescription
form_id *stringComposite form id "<page_uuid>:<block_uuid>". Both halves UUIDs.
submission *objectField name → value map. Validated against the form's props.fields list at the server. Extra fields rejected.
projectstringOptional project — a website inside the workspace (proj_xxx) — to scope this call to. Sent as the X-Project-Id header. If omitted, the spideriq.json / SPIDERIQ_PROJECT_ID binding (or the workspace…
request_idstringOptional retry-idempotency token. Combined with the resolved client_id, dedups duplicate test-fires within a 24h window.
workspacestring

list_projects

List the projects (websites) in the current workspace. Each project has an `id` (proj_xxx) that you pass as the optional `project` argument of any content/template tool — or bind via `spideriq use <workspace> --project <proj_>` — to scope content operations to that website.

ParameterTypeDescription
workspacestringCredentials slot (default "default") in ~/.spideriq/credentials.json.

create_project

Create a new project (website) in the current workspace. Returns the new project including its `proj_` id. May return 403 with an upgrade CTA if the workspace is already at its plan's project cap (max_deployed_sites).

ParameterTypeDescription
name *stringHuman-facing project name.
slugstringOptional URL-safe slug (auto-derived from name when omitted).
workspacestringCredentials slot (default "default").

list_recipes

List all SpiderPublish workflow recipes shipped in @spideriq/skills. Returns name, description, and kind (rule | recipe | config) for each manifest entry. Call get_recipe(name) to read full content. Use this when the user asks "how do I X?" — the recipe index points you at a known-good workflow markdown.

ParameterTypeDescription
kindstringFilter to a single kind (default: all kinds)

get_recipe

Fetch the full markdown content of a SpiderPublish recipe (or rule) from @spideriq/skills. Pass the logical name from list_recipes. Returns the recipe text verbatim — paste-able into the working context, or use as a reference while implementing.

ParameterTypeDescription
name *stringLogical name (e.g. "clone-a-site", "build-a-homepage", "claude-md")