Update a pad
update_padReplace the HTML of a pad you published, using the edit token returned by publish_html. Saving also resets its 90 days.
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": {
"address": "<address>",
"edit_token": "<edit_token>",
"html": "<html>"
},
"name": "update_pad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The new HTML, up to 512 KB. | |
| address | Yes | The pad address, as in htmlpad.org/<address>/. | |
| edit_token | Yes | The edit token returned when the pad was published. |