Служебные инструменты · catalog
Склады и движение товаров · изменения · Изменение
catalog_site_catalog_stock_m022_writeИзменениеДействия модуля catalog.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля catalog.
request_id- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
delay_seconds- целое число
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"minLength": 32,
"maxLength": 32
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"minLength": 64,
"maxLength": 64
},
"confirm": {
"type": "boolean",
"enum": [
true
]
},
"delay_seconds": {
"type": "integer",
"minimum": 1,
"maximum": 253402300799,
"default": 300
}
},
"required": [
"request_id",
"expected_revision",
"confirm"
],
"additionalProperties": false
}Действия модуля catalog.
request_id- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_global_native_effects- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"minLength": 32,
"maxLength": 32
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"minLength": 64,
"maxLength": 64
},
"confirm": {
"type": "boolean",
"enum": [
true
]
},
"acknowledge_global_native_effects": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"request_id",
"expected_revision",
"confirm",
"acknowledge_global_native_effects"
],
"additionalProperties": false
}Действия модуля catalog.
request_id- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_global_native_effects- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$",
"minLength": 32,
"maxLength": 32
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"minLength": 64,
"maxLength": 64
},
"confirm": {
"type": "boolean",
"enum": [
true
]
},
"acknowledge_global_native_effects": {
"type": "boolean",
"enum": [
true
]
}
},
"required": [
"request_id",
"expected_revision",
"confirm",
"acknowledge_global_native_effects"
],
"additionalProperties": false
}