deploy_site
Put a static site online on a free link. Pass files inline as {path, content, encoding} where encoding is utf8 or base64. This server cannot read a folder on your machine. The server chooses index.html, dist/, build/, out/, _site/ or public/. Do not pick the folder yourself. With a token: pass site_id to update that site. Omitting site_id fills the oldest reserved address on the account (from Get an AI code) instead of creating a second site. Without a token the site goes live anonymously and you MUST give the human the claim_url. Free only; never buys a name. Decoded files stay within the existing upload cap (100 MB signed in, smaller before the site is claimed). Never buy anything without asking me. Never buy a domain, email or subscription for me without asking first. When something costs money, give me the payment link and let me pay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional: the address label for a NEW site, e.g. "myproject". Errors when taken, so propose another. | |
| files | Yes | Site files sent inline. Each item has path, content, and encoding utf8 or base64. Leave out node_modules, .git and hidden files. .well-known is allowed. | |
| site_id | No | Optional: an existing site to update. Omit it to fill the oldest reserved site on this account. |