Служебные инструменты · fileman
Файлы и структура сайта · чтение · Чтение · fileman_sticker_settings_get
fileman_site_fileman_m060_readЧтениеДействия модуля fileman.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля fileman.
Параметры не требуются. Передайте пустой объект {}.
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}Действия модуля fileman.
settings- объект · обязательный параметр
roles- массив · обязательный параметр
{
"type": "object",
"properties": {
"settings": {
"type": "object",
"properties": {
"hide_bottom": {
"type": "boolean"
},
"use_hotkeys": {
"type": "boolean"
},
"start_width": {
"type": "integer",
"minimum": 280,
"maximum": 2000
},
"start_height": {
"type": "integer",
"minimum": 160,
"maximum": 2000
},
"default_task_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
}
},
"required": [
"hide_bottom",
"use_hotkeys",
"start_width",
"start_height",
"default_task_id"
],
"additionalProperties": false
},
"roles": {
"type": "array",
"maxItems": 128,
"items": {
"type": "object",
"properties": {
"group_id": {
"type": "integer",
"minimum": 2,
"maximum": 2147483647
},
"task_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
}
},
"required": [
"group_id",
"task_id"
],
"additionalProperties": false
}
}
},
"required": [
"settings",
"roles"
],
"additionalProperties": false
}