Update snippet sharing settings
update_snippet_settingsUpdate a live snippet's access settings—visibility, expiry, password, and burn-after-read—while leaving omitted fields unchanged.
Instructions
Change who can open your live snippet (write scope required): visibility, expiry counted from now, a password (null removes it) and burn after read. Omitted fields stay as they are. Confirm with the user before making a snippet public or setting a password, which is then visible in this conversation. Returns the current settings; the password itself is never returned.
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": {
"id": "<id>"
},
"name": "update_snippet_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| expiry | No | ||
| password | No | ||
| visibility | No | ||
| burnAfterRead | No |