Configure the AutoSEO engine for a site
autoseo_configureConfigure a site's AutoSEO defaults: define approved topics and pillars, publish cadence, backlink targets, image style, and approval mode. Enable blog-to-social repurposing if desired.
Instructions
Set the standing AutoSEO configuration for a connected site: approved topics/content pillars, publish cadence, backlink targets to weave into generated posts as outbound links, an image style for generated art, the approval mode, and the blog->social repurpose setting. approvalMode "draft" (recommended, default) routes every generated post into the pending-approval queue for a human to review before anything publishes; only pass "auto" when the user has explicitly opted into unattended publishing. socialRepurpose: when a blog post on this site publishes, auto-draft social announcements (twitter/linkedin) for the human to review and approve — like everything else, this NEVER auto-posts. It is OFF BY DEFAULT: pass { enabled: true } only when the user has explicitly asked for blog posts to generate social announcements, optionally narrowing platforms to just one (default both once enabled). publicBaseUrl only matters for the "git_pr" connector: set it to the real deployed blog base URL (e.g. "https://blog.acme.com") so social announcements link to the live article — without it, git-connected sites skip the social repurpose rather than ever link a post at a GitHub PR URL. Call this after autoseo_verify_site confirms the site is live, and ideally after autoseo_propose_topics so topics/pillars reflect an approved plan rather than a guess. CAPABILITY: draft — creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site id from autoseo_connect_site / autoseo_list_sites | |
| topics | No | Approved question-shaped topics to generate posts from | |
| cadence | No | Publish cadence; capped at 3x/week — a volume spike on a quiet domain is itself a spam signal | |
| pillars | No | Broader content pillars/categories the site should cover | |
| imageStyle | No | Style guidance for generated post images, e.g. "minimal flat illustration" | |
| approvalMode | No | "draft" (default, recommended) queues posts for human approval; "auto" publishes unattended — only with explicit user opt-in | |
| publicBaseUrl | No | git_pr connector ONLY: the real public base URL the site is deployed to (e.g. "https://blog.acme.com"), used to build the social-repurpose link. Without it, git-connected sites skip the blog->social repurpose (their publish result is a GitHub PR URL, never a live article). | |
| backlinkTargets | No | URLs plus optional relevance notes to weave in as outbound backlinks from generated posts | |
| socialRepurpose | No | Blog->social repurpose setting: whenever an article on this site publishes, auto-draft social announcements (still human-approved, never auto-posted) to the given platforms. Defaults to off/disabled when never set — omit entirely to leave the current setting unchanged. |