Publish an artifact
super_publishPublish a page at a stable URL; the same slug adds a new version, which the URL serves at once. Earlier versions stay and can be served again; nothing that existed before the call is deleted. Always give the person the url from the result, even on updates. Send html, or values for a template that carries a runtime, not both. Without policy a form, input or saved state stores nothing; CMS rows a page edits go in policy.collections. When retained storage is full it refuses with plan_limit and deletes nothing. A template becomes everybody’s through a release, not a publish.
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": {
"slug": "<slug>"
},
"name": "super_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Complete self-contained index.html. | |
| kind | No | Default `page`. `dashboard` labels a page of mostly live data. | |
| slug | Yes | Kebab-case, 3–63 chars, under your key’s handle: it updates one there you are Editor on. Another workspace’s artifact: publish from its dashboard. | |
| files | No | With `html`: small assets. ≤200, 5 MiB each, 10 MiB total, decoded. | |
| title | No | Under 60 chars. Default: page <title>. | |
| policy | No | Data policy v1. Visitors submit to a sheet (perUser single, upsert, a field per question), a log (many, append-only) or a shared doc (shared, key). CMS rows: `collections`. See super_help data. | |
| prompt | No | Optional: the request it answers, on its card. | |
| values | No | Filled slots for `template`'s runtime, by slot name; `json` slots are schema-checked. | |
| dataset | No | With `values`: overrides the declaration's `dataset.key`. | |
| uploads | No | uploadId from super_upload; its files ship with the page. | |
| template | No | The template built from (provenance); required with `values` or `instances`. | |
| triggers | No | Declared agent triggers: key, prompt, optional label, on, who, agent, input, when, once. At most 8 and 12 KiB; omitted on redeploy keeps the previous set. | |
| continues | No | With `values`: the dataset key this one succeeds. | |
| instances | No | Instead of `slug`/`values`: several pages of one `template`. | |
| collection | No | Gallery grouping label, not a content collection. | |
| valuesFile | No | With `uploads`: the staged JSON file to read `values` from. | |
| visibility | No | From version 1. Default: the workspace default; public is set after. | |
| description | No | Link-preview sentence, under 200 chars. Default: `prompt`. |