Update Pane
update_paneEdit live pane fields (title, icon, expiration, metadata, tags, input data) in place without minting a new pane. Retains id, URL, event log, and template pin.
Instructions
Edit instance-level fields on a LIVE pane in place (PATCH) without minting a new one — the pane keeps its id, URL, event log, and template pin. Settable: ttl_seconds OR expires_at (mutually exclusive), title, preamble, input_data (replaced wholesale + revalidated), metadata, tags, icon_emoji / icon_attachment_id (or clear_* to drop the override). Pass at least one field. Returns the full new pane state + an updated_fields array. To swap the HTML/schemas, use upgrade_pane instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Replace the per-pane tags. | |
| title | No | New tab title. | |
| pane_id | Yes | The pane id to edit. | |
| metadata | No | Replace the pane's metadata wholesale. | |
| preamble | No | New preamble (context band above the UI). | |
| expires_at | No | Set expires_at to a specific future ISO-8601 timestamp. Mutually exclusive with ttl_seconds. | |
| icon_emoji | No | Set the per-pane emoji icon. | |
| input_data | No | Replace the pane's input_data wholesale (revalidated against the pinned template version's input_schema). | |
| ttl_seconds | No | Reset the pane's lifetime to now + this many seconds. Mutually exclusive with expires_at. | |
| clear_icon_emoji | No | Clear the emoji override (fall back to the template's icon). | |
| icon_attachment_id | No | Set the per-pane icon to a ready raster-image attachment id. | |
| clear_icon_attachment_id | No | Clear the attachment icon override (fall back to the template's icon). |