Служебные инструменты · security
Защита сайта · изменения · Изменение
security_site_security_m001_writeИзменениеДействия модуля security.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля security.
site_id- строка · обязательный параметр
job_id- строка · обязательный параметр
expected_revision- строка · обязательный параметр
request_id- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{2}$"
},
"job_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"site_id",
"job_id",
"expected_revision",
"request_id",
"confirm"
],
"additionalProperties": false
}Действия модуля security.
site_id- строка · обязательный параметр
job_id- строка · обязательный параметр
path- строка · обязательный параметр
expected_sha256- строка · обязательный параметр
expected_revision- строка · обязательный параметр
request_id- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{2}$"
},
"job_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"path": {
"type": "string",
"minLength": 2,
"maxLength": 1000
},
"expected_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"site_id",
"job_id",
"path",
"expected_sha256",
"expected_revision",
"request_id",
"confirm"
],
"additionalProperties": false
}Действия модуля security.
site_id- строка · обязательный параметр
path- строка · обязательный параметр
expected_revision- строка · обязательный параметр
request_id- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{2}$"
},
"path": {
"type": "string",
"minLength": 2,
"maxLength": 1000
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"site_id",
"path",
"expected_revision",
"request_id",
"confirm"
],
"additionalProperties": false
}