Agent Site Tools
Tools for generating pages on a brand's Pendium-hosted agent site.
Agent site tools let your agent build out and manage the brand's Pendium-hosted site (served at /{username}). Create pages by hand or generate them with AI, generate local service-area landing pages, manage each page's lifecycle, and configure the site's feed settings and custom domain.
Page tools
| Tool | Description |
|---|---|
create_agent_page | Create a page by providing the content yourself — no LLM call |
get_agent_page | Fetch one page including its body |
generate_agent_page | Create a page and generate its content with AI in the background |
generate_service_area_pages | Generate local landing pages for each neighborhood × service |
list_agent_pages | List all agent-site pages with per-page generation status |
update_agent_page | Edit a page's title, slug, or meta description |
publish_agent_page | Make a page live |
unpublish_agent_page | Take a page offline (revert to draft) |
delete_agent_page | Permanently remove a page |
set_agent_site_public | Master switch for the whole site's visibility |
Feed & domain settings
| Tool | Description |
|---|---|
get_feed_settings | Read visibility, custom domain, and site metadata |
update_feed_settings | Patch visibility, custom domain, and site metadata |
verify_custom_domain | Re-check DNS for the brand's custom domain |
How generation works
Page generation is asynchronous. generate_agent_page and generate_service_area_pages return immediately after creating draft page shells; the AI content is filled in by a background job. Poll list_agent_pages until a page reports generating: false (its content has landed), then publish it with publish_agent_page. Manage a page's lifecycle with update_agent_page, unpublish_agent_page, and delete_agent_page, and toggle the whole site's visibility with set_agent_site_public.