Служебные инструменты · main
Нумерация сайта · изменения · Изменение
main_site_main_numerators_m031_writeИзменениеДействия модуля main.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля main.
intent_id- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"intent_id": {
"type": "string",
"minLength": 64,
"maxLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"expected_revision": {
"type": "string",
"minLength": 64,
"maxLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"intent_id",
"expected_revision",
"confirm"
],
"additionalProperties": false
}Действия модуля main.
numerator_id- целое число · обязательный параметр
order_id- целое число · обязательный параметр
next_number- целое число · обязательный параметр
operation_key- строка · обязательный параметр
{
"type": "object",
"properties": {
"numerator_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"order_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"next_number": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"operation_key": {
"type": "string",
"minLength": 16,
"maxLength": 128,
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.:-]{15,127}$"
}
},
"required": [
"numerator_id",
"order_id",
"next_number",
"operation_key"
],
"additionalProperties": false
}