Publish site
publish_sitePublish files as a new site at .attim.link. Signed in, the site is permanent in the account; without an account it is temporary (ttlSeconds sets how long). To keep a temporary site, ask for the user's email and call claim_site.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"files": "<files>"
},
"name": "publish_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | ||
| files | Yes | ||
| ttlSeconds | No | ||
| workspaceId | No | ||
| passwordProtection | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| status | No | ||
| siteUrl | Yes | ||
| anonymous | No | ||
| expiresAt | No | ||
| versionId | No | ||
| claimToken | No |