Служебные инструменты · main
Операции модуля main
main_site_main_smiles_m079_readЧтениеДействия модуля main.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля main.
string_id- строка · обязательный параметр
Exact stored canonical ASCII symbolic gallery code, for example bitrix. This is an explicit supported profile, not a restriction of the underlying SDK.
language_id- строка · обязательный параметр
Explicit language of the existing translation, for example ru or en.
{
"type": "object",
"properties": {
"string_id": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"pattern": "^[A-Za-z0-9_][A-Za-z0-9_.-]{0,254}$(?![\\s\\S])",
"description": "Exact stored canonical ASCII symbolic gallery code, for example bitrix. This is an explicit supported profile, not a restriction of the underlying SDK."
},
"language_id": {
"type": "string",
"pattern": "^[a-z]{2}$",
"minLength": 2,
"maxLength": 2,
"description": "Explicit language of the existing translation, for example ru or en."
}
},
"required": [
"string_id",
"language_id"
],
"additionalProperties": false
}Действия модуля main.
gallery_id- целое число · обязательный параметр
Selected gallery ID. Smile-set IDs and the automatic default selector zero are not accepted.
language_id- строка · обязательный параметр
Explicit language of the existing translation, for example ru or en.
{
"type": "object",
"properties": {
"gallery_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "Selected gallery ID. Smile-set IDs and the automatic default selector zero are not accepted."
},
"language_id": {
"type": "string",
"pattern": "^[a-z]{2}$",
"minLength": 2,
"maxLength": 2,
"description": "Explicit language of the existing translation, for example ru or en."
}
},
"required": [
"gallery_id",
"language_id"
],
"additionalProperties": false
}Действия модуля main.
set_id- целое число · обязательный параметр
Selected smile-set ID. Gallery IDs are not accepted.
language_id- строка · обязательный параметр
Explicit language of the existing translation, for example ru or en.
{
"type": "object",
"properties": {
"set_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647,
"description": "Selected smile-set ID. Gallery IDs are not accepted."
},
"language_id": {
"type": "string",
"pattern": "^[a-z]{2}$",
"minLength": 2,
"maxLength": 2,
"description": "Explicit language of the existing translation, for example ru or en."
}
},
"required": [
"set_id",
"language_id"
],
"additionalProperties": false
}