webhouse.appwebhouse.appdocs

Manage your entire CMS through natural language — create content, edit pages, run agents, deploy, and more by just talking to it.

Chat interface

What is Chat?

@webhouse/cms has a built-in conversational interface that lets you manage your entire site through natural language. Instead of clicking through menus and forms, you describe what you want and the CMS does it.

Click Chat in the admin header to switch from the traditional panel to the chat interface. Click Admin to switch back. Your chat history is preserved.

This isn't a chatbot bolted onto a CMS. The chat has direct access to 49 tools that cover every CMS operation — the same APIs that power the traditional admin UI. It can read your schema, understand your collections, and execute operations with full context.

Chat conversation

What you can do

Content management

"Create a new blog post about TypeScript generics"
"Update the about page title to 'About Us'"
"Publish all drafts"
"Show me what changed this week"
"Translate the getting-started page to Danish"
"List all posts tagged 'tutorial'"

Site operations

"Run a full site build"
"Deploy to production"
"Check all links on the site"
"Create a backup"
"Show me the SEO score for all posts"

AI content

"Generate a blog post about our new feature"
"Rewrite the intro to be more concise"
"Run the SEO optimizer on all published posts"
"Create an interactive pricing calculator"

Media & assets

"Show me all images without alt text"
"List media uploaded this week"

Translation

"Translate this post to Danish"
"Translate the entire site to Danish"
"Show me which translations are missing"

The 49 tools

Chat has access to these tool categories:

Read operations

ToolWhat it does
site_summaryOverview: collections, document counts, adapter, config
list_documentsList documents in a collection with filtering
get_documentRead a specific document by slug
search_contentFull-text search across all collections
get_schemaGet collection fields and block definitions
list_draftsShow all unpublished drafts
get_site_configRead site settings
list_mediaBrowse media library
search_mediaSearch images, videos, files
list_scheduledShow scheduled publishes/unpublishes
list_agentsShow configured AI agents
list_curation_queueShow AI-generated content awaiting review
list_revisionsShow edit history for a document
list_trashShow trashed documents
content_statsContent statistics and counts
list_deploy_historyRecent deployments

Write operations

ToolWhat it does
create_documentCreate a new document
update_documentEdit fields on an existing document
publish_documentSet status to published
unpublish_documentRevert to draft
trash_documentMove to trash
clone_documentDuplicate a document
restore_from_trashRecover a trashed document
empty_trashPermanently delete all trashed items
bulk_publishPublish multiple documents at once
bulk_updateUpdate a field across multiple documents
schedule_publishSet a future publish date
update_site_settingsChange site configuration
show_edit_formRender an inline edit form in chat

AI operations

ToolWhat it does
generate_contentAI-generate a new document
rewrite_fieldAI-rewrite a specific field
generate_interactiveCreate an HTML interactive component
create_agentConfigure a new AI agent
run_agentExecute an agent on content
translate_documentAI-translate a single document
translate_siteAI-translate all documents to a locale

Operations

ToolWhat it does
trigger_buildRun the static site build pipeline
trigger_deployDeploy to configured provider
run_link_checkScan for broken links
create_backupSnapshot all content
approve_queue_itemApprove AI-generated content
reject_queue_itemReject AI-generated content

Web research

ToolWhat it does
web_searchLive web search via Brave or Tavily API — pulls current articles, docs, reference links
web_fetchFetch and read any URL — extract article text, quote it, cite it in generated content

These two tools turn Chat into a research assistant. Ask "find three sources on TypeScript decorators and write a post that cites them" — Chat searches, reads, quotes, and drafts, all in one conversation turn. They also unblock the AI content pipeline from being a closed-world model: you can ground output on live material instead of relying on pretraining.

Memory

ToolWhat it does
search_memoriesSearch conversation memory
add_memorySave information for future conversations
forget_memoryRemove a memory

Chat memory

The chat remembers context across conversations. It stores:

  • Your preferences ("I prefer formal tone", "Always use Danish for blog posts")
  • Project context ("We're launching v2 next week", "The pricing page needs updating")
  • Decisions ("We decided to use the blue theme", "SEO keywords: typescript, cms, headless")

Memory is stored locally per site and can be exported/imported.

How it works under the hood

  1. You type a message
  2. Chat sends it to Claude with your site's schema, collections, and recent context
  3. Claude decides which tools to call (e.g. list_documentsupdate_documentpublish_document)
  4. Each tool calls the same internal API routes as the traditional admin UI
  5. Results are streamed back with markdown formatting
  6. Destructive actions (delete, publish, deploy) ask for confirmation first

Configuration

Chat uses the AI model configured in Site Settings → AI:

  • Chat model: Claude Sonnet 4.6 (default) — fast, capable
  • Max tokens: 16,384 (configurable)
  • Max tool iterations: 25 (how many tools per conversation turn)

No additional setup needed. If you have an Anthropic API key configured, Chat works.

Tips

  • Be specific: "Create a blog post titled 'Getting Started with TypeScript' with 3 sections" works better than "write something about TypeScript"
  • Use it for bulk operations: "Publish all drafts in the blog collection" saves clicking through each one
  • Ask it to explain: "What collections do I have?" or "How is the SEO score calculated?"
  • Chain operations: "Create a new post, optimize it for SEO, then translate it to Danish" — Chat handles multi-step workflows
  • Leverage memory: "Remember that our brand voice is professional but friendly" — it'll apply this to future content generation
Tags:ChatAI AgentsAI Prompts
Previous
Side-by-Side Translation Editing
Next
Brand Voice
JSON API →Edit on GitHub →