PendiumDocs

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

ToolDescription
create_agent_pageCreate a page by providing the content yourself — no LLM call
get_agent_pageFetch one page including its body
generate_agent_pageCreate a page and generate its content with AI in the background
generate_service_area_pagesGenerate local landing pages for each neighborhood × service
list_agent_pagesList all agent-site pages with per-page generation status
update_agent_pageEdit a page's title, slug, or meta description
publish_agent_pageMake a page live
unpublish_agent_pageTake a page offline (revert to draft)
delete_agent_pagePermanently remove a page
set_agent_site_publicMaster switch for the whole site's visibility

Feed & domain settings

ToolDescription
get_feed_settingsRead visibility, custom domain, and site metadata
update_feed_settingsPatch visibility, custom domain, and site metadata
verify_custom_domainRe-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.

On this page