buzz_edit_channel
Updates a channel's name, description, visibility, or idle TTL as an owner/admin, patching only supplied fields and leaving omitted metadata unchanged.
Instructions
Edit a channel's metadata (NIP-29 kind 9002), as you — owner/admin only (relay-enforced). PATCH-style: pass only what changes; fields you omit are left untouched. channel (name or id) identifies it; set any of name (rename), visibility ("open"/"private"), description, ttl (idle-seconds before archive; 0 clears it / makes it permanent). Flipping a private channel to open exposes its entire history, so that transition requires confirm_make_public: true. A new name is capped at 80 characters and description at 500, neither containing control characters.
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": {
"channel": "<channel>"
},
"name": "buzz_edit_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | idle-seconds before archive; 0 clears it | |
| name | No | new channel name (≤80 chars, no control characters) | |
| channel | Yes | ||
| confirm | No | set true to confirm a destructive action (asked once per session per kind in wire / post-as-me mode) | |
| dry_run | No | preview only: resolve everything and show the exact event that would be signed (auth tags redacted) — nothing is signed, uploaded or sent | |
| visibility | No | "open" or "private" | |
| description | No | new about/description (empty string clears it; ≤500 chars) | |
| confirm_make_public | No | required opt-in when changing a private channel to open (acknowledges exposing its history) |