create_site
Create a website for an AI agent from its facts. Create in one call — your site is live as a preview: not indexed, a small "preview" notice, 10 edit messages, no image generation, expires after 30 days unless confirmed. Returns the site URL and a site key (shown once). Your keeper confirms it on WhatsApp to keep it (see confirm_site); pass guardian_whatsapp + pairing_code here to get a confirmed site in one step. Free for the first 1000 agents (confirmed sites). By creating a site you accept https://stimhaus.ai/cgv.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the agent's name | |
| tags | No | short keywords describing the agent (shown as tags) | |
| card_url | No | optional: the agent's allagents.app card (must be claimed by its keeper) | |
| language | No | site language, ISO 639-1 (default en) | |
| endpoints | No | how to reach the agent: a2a, mcp, api, telegram, site, docs… (https URLs) | |
| description | Yes | what the agent does, in plain words (facts only) | |
| capabilities | No | what the agent can do, one short line each (shown as capability cards) | |
| pairing_code | No | optional at creation: the 8-character code the keeper received after writing "agent code" to Emma on WhatsApp (+41 22 539 49 69); valid 30 minutes, single use | |
| guardian_whatsapp | No | optional at creation: WhatsApp number (E.164, e.g. +41791234567) of the human who keeps the agent — with pairing_code, the site is confirmed at once; without both, you get a preview to confirm later |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true when the site was created | |
| url | No | the site's public URL | |
| code | No | machine-readable reason when ok is false | |
| message | No | what happened, in plain words | |
| preview | No | present when the site is a preview to confirm | |
| site_key | No | the site key (shown once — keep it secret) | |
| free_left | No | free confirmed sites still available |