Служебные инструменты · statistic
Операции модуля statistic · Изменение · stat_agent_registration
statistic_site_statistic_metadata_m023_writeИзменениеДействия модуля statistic.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля statistic.
kind- строка · обязательный параметр
mask- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_statistics_change- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"browser",
"searcher"
]
},
"mask": {
"type": "string",
"maxLength": 253,
"minLength": 1
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
},
"acknowledge_statistics_change": {
"type": "boolean"
}
},
"required": [
"kind",
"mask",
"expected_revision",
"confirm",
"acknowledge_statistics_change"
],
"additionalProperties": false
}Действия модуля statistic.
fields- объект · обязательный параметр
parameters- массив
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_statistics_change- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"fields": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"save_statistics": {
"type": "boolean"
},
"chart_default": {
"type": "boolean"
},
"name": {
"type": "string",
"maxLength": 255
},
"user_agent": {
"type": "string",
"maxLength": 65535
},
"hit_keep_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 36500
},
"daily_keep_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 36500
},
"check_activity": {
"type": "boolean"
}
},
"additionalProperties": false
},
"parameters": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"parameter_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"domain": {
"type": "string",
"maxLength": 255
},
"variable": {
"type": "string",
"maxLength": 255
},
"charset": {
"type": "string",
"maxLength": 255
}
},
"required": [
"domain"
],
"additionalProperties": false
}
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
},
"acknowledge_statistics_change": {
"type": "boolean"
}
},
"required": [
"fields",
"expected_revision",
"confirm",
"acknowledge_statistics_change"
],
"additionalProperties": false
}Действия модуля statistic.
searcher_id- целое число · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_statistics_change- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"searcher_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
},
"acknowledge_statistics_change": {
"type": "boolean"
}
},
"required": [
"searcher_id",
"expected_revision",
"confirm",
"acknowledge_statistics_change"
],
"additionalProperties": false
}Действия модуля statistic.
searcher_id- целое число · обязательный параметр
fields- объект
parameters- массив
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_statistics_change- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"searcher_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"fields": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"save_statistics": {
"type": "boolean"
},
"chart_default": {
"type": "boolean"
},
"name": {
"type": "string",
"maxLength": 255
},
"user_agent": {
"type": "string",
"maxLength": 65535
},
"hit_keep_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 36500
},
"daily_keep_days": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 36500
},
"check_activity": {
"type": "boolean"
}
},
"additionalProperties": false
},
"parameters": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"parameter_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"domain": {
"type": "string",
"maxLength": 255
},
"variable": {
"type": "string",
"maxLength": 255
},
"charset": {
"type": "string",
"maxLength": 255
}
},
"required": [
"domain"
],
"additionalProperties": false
}
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
},
"acknowledge_statistics_change": {
"type": "boolean"
}
},
"required": [
"searcher_id",
"expected_revision",
"confirm",
"acknowledge_statistics_change"
],
"additionalProperties": false
}