Предметные инструменты · seo
Поисковая оптимизация сайта · изменения
seo_site_seo_m219_writeИзменениеДобавить продвигаемую страницу · Создать карту сайта · Отменить создание карты сайта.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Создает запись слов штатным API. Для существующей записи используйте изменение. Нужен доступ к редактированию страницы.
site_id- строка · обязательный параметр
path- строка · обязательный параметр
keywords- массив · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"path",
"keywords",
"confirm"
],
"additionalProperties": false
}Создает настройку без фонового задания. Передайте зарегистрированный домен и собственные имена XML. Связи с агентами не создаются.
site_id- строка · обязательный параметр
name- строка · обязательный параметр
settings- объект · обязательный параметр
active- логическое значение
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"settings": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253
},
"protocol": {
"type": "string",
"enum": [
"http",
"https"
]
},
"index_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"files_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"iblock_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"forum_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"file_masks": {
"type": "array",
"items": {
"type": "string",
"enum": [
"*.php",
"*.html",
"*.htm"
]
},
"minItems": 1,
"maxItems": 3,
"uniqueItems": true
},
"files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"directories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"add_to_robots": {
"type": "boolean"
},
"iblocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"iblock_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"list_page": {
"type": "boolean"
},
"sections": {
"type": "boolean"
},
"elements": {
"type": "boolean"
}
},
"required": [
"iblock_id"
],
"additionalProperties": false,
"minProperties": 0
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"forums": {
"type": "array",
"items": {
"type": "object",
"properties": {
"forum_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"topics": {
"type": "boolean"
}
},
"required": [
"forum_id"
],
"additionalProperties": false,
"minProperties": 0
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
}
},
"required": [],
"additionalProperties": false,
"minProperties": 1
},
"active": {
"type": "boolean"
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"name",
"settings",
"confirm"
],
"additionalProperties": false
}Отменяет задание, зарегистрированное текущим пользователем через MCP. Выполняющееся задание или задание со штатным агентом требует отдельного управления. XML и временные файлы сохраняются. Выполняющееся задание не отменяется.
site_id- строка · обязательный параметр
sitemap_id- целое число · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"sitemap_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"sitemap_id",
"confirm"
],
"additionalProperties": false
}Создает штатное пошаговое задание. Агент не добавляется. Задание привязано к текущему пользователю и версии настроек. Остатки временного XML после отмены требуют штатного редактора.
site_id- строка · обязательный параметр
sitemap_id- целое число · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"sitemap_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"sitemap_id",
"confirm"
],
"additionalProperties": false
}Удаляет слова выбранной записи. Саму запись штатный API сохраняет.
site_id- строка · обязательный параметр
keyword_id- целое число · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"keyword_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"keyword_id",
"confirm"
],
"additionalProperties": false
}Штатно удаляет настройку, связи и незапущенное задание. XML-файлы сохраняются. Выполняющееся задание запрещает удаление.
site_id- строка · обязательный параметр
sitemap_id- целое число · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"sitemap_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"sitemap_id",
"confirm"
],
"additionalProperties": false
}Заменяет слова одной записи. Адрес и сайт сохраняются; чужой идентификатор не принимается.
site_id- строка · обязательный параметр
keyword_id- целое число · обязательный параметр
keywords- массив · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"keyword_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"keyword_id",
"keywords",
"confirm"
],
"additionalProperties": false
}Пропущенные поля сохраняются. Переданные массивы источников заменяются целиком. Существующее задание сначала отмените.
site_id- строка · обязательный параметр
sitemap_id- целое число · обязательный параметр
fields- объект · обязательный параметр
confirm- логическое значение · обязательный параметр
Подтвердите запись после проверки данных: true.
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[a-zA-Z0-9]{2}$"
},
"sitemap_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"fields": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"active": {
"type": "boolean"
},
"settings": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 253
},
"protocol": {
"type": "string",
"enum": [
"http",
"https"
]
},
"index_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"files_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"iblock_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"forum_filename": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"file_masks": {
"type": "array",
"items": {
"type": "string",
"enum": [
"*.php",
"*.html",
"*.htm"
]
},
"minItems": 1,
"maxItems": 3,
"uniqueItems": true
},
"files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"directories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"add_to_robots": {
"type": "boolean"
},
"iblocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"iblock_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"list_page": {
"type": "boolean"
},
"sections": {
"type": "boolean"
},
"elements": {
"type": "boolean"
}
},
"required": [
"iblock_id"
],
"additionalProperties": false,
"minProperties": 0
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
},
"forums": {
"type": "array",
"items": {
"type": "object",
"properties": {
"forum_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"topics": {
"type": "boolean"
}
},
"required": [
"forum_id"
],
"additionalProperties": false,
"minProperties": 0
},
"minItems": 0,
"maxItems": 100,
"uniqueItems": true
}
},
"required": [],
"additionalProperties": false,
"minProperties": 1
}
},
"required": [],
"additionalProperties": false,
"minProperties": 1
},
"confirm": {
"type": "boolean",
"description": "Подтвердите запись после проверки данных: true."
}
},
"required": [
"site_id",
"sitemap_id",
"fields",
"confirm"
],
"additionalProperties": false
}