replace_page_code
Replace text in HTML code blocks of Tilda pages using regular expressions. Automatically publishes the page after changes.
Instructions
Заменить текст (regexp) в HTML-код-блоках T123 страницы — напр. сторонние скрипты/трекеры. По умолчанию публикует страницу.
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": {
"pageid": "<pageid>",
"find": "<find>",
"replace": "<replace>"
},
"name": "replace_page_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Регулярное выражение для поиска в коде блока (флаг g применяется автоматически) | |
| pageid | Yes | ID страницы Tilda | |
| publish | No | Опубликовать страницу после изменения (по умолчанию true) | |
| replace | Yes | Строка замены |