Служебные инструменты · mobileapp
Мобильные приложения сайта · изменения · Добавить настройки платформы
mobileapp_site_mobile_apps_m013_writeИзменениеДобавить настройки платформы · Создать запись приложения · Удалить настройки платформы.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Добавляет отсутствующие настройки собственной записи MCP. Задайте общие настройки либо отдельную платформу; значения строго ограничены справочником оформления.
app_code- строка · обязательный параметр
platform- строка · обязательный параметр
parameters- объект · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"additionalProperties": false,
"properties": {
"app_code": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$"
},
"platform": {
"type": "string",
"enum": [
"global",
"android",
"ios"
]
},
"parameters": {
"type": "object",
"additionalProperties": false,
"properties": {
"statusBar/use_top_offset": {
"type": "boolean"
},
"statusBar/show_status_bar_without_nav_bar": {
"type": "boolean"
},
"statusBar/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"statusBar/opacity": {
"type": "number",
"minimum": 0.1,
"maximum": 1
},
"controller_settings/main_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/main_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/toolbar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/navigation_bar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/progressbar_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/title_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/ios_use_square_buttons": {
"type": "boolean"
},
"buttons/default_back_button": {
"type": "string",
"enum": [
"default",
"back_text",
"back"
]
},
"buttons/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/show_frame": {
"type": "boolean"
},
"buttons/badge/border_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_detail_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/row_height": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/row_height_large": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/cell_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/date_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_style": {
"type": "string",
"enum": [
"normal",
"bold"
]
},
"pull_down/arrow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_background_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"additional/use_top_bar": {
"type": "boolean"
},
"additional/use_slider": {
"type": "boolean"
}
}
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"app_code",
"platform",
"parameters",
"expected_revision",
"confirm"
]
}Создаёт собственную запись MCP и общие настройки оформления. Код и папка формируются автоматически. Публичные файлы, шаблоны сайта и push не создаются.
slug- строка · обязательный параметр
name- строка · обязательный параметр
short_name- строка · обязательный параметр
description- строка
parameters- объект · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"additionalProperties": false,
"properties": {
"slug": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"pattern": "^[a-z][a-z0-9_]*$"
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"short_name": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000
},
"parameters": {
"type": "object",
"additionalProperties": false,
"properties": {
"statusBar/use_top_offset": {
"type": "boolean"
},
"statusBar/show_status_bar_without_nav_bar": {
"type": "boolean"
},
"statusBar/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"statusBar/opacity": {
"type": "number",
"minimum": 0.1,
"maximum": 1
},
"controller_settings/main_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/main_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/toolbar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/navigation_bar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/progressbar_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/title_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/ios_use_square_buttons": {
"type": "boolean"
},
"buttons/default_back_button": {
"type": "string",
"enum": [
"default",
"back_text",
"back"
]
},
"buttons/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/show_frame": {
"type": "boolean"
},
"buttons/badge/border_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_detail_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/row_height": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/row_height_large": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/cell_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/date_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_style": {
"type": "string",
"enum": [
"normal",
"bold"
]
},
"pull_down/arrow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_background_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"additional/use_top_bar": {
"type": "boolean"
},
"additional/use_slider": {
"type": "boolean"
}
}
},
"confirm": {
"type": "boolean"
}
},
"required": [
"slug",
"name",
"short_name",
"parameters",
"confirm"
]
}Удаляет настройки одной платформы собственной записи MCP. При отсутствии Android/iOS мобильная платформа использует общие настройки.
app_code- строка · обязательный параметр
platform- строка · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"additionalProperties": false,
"properties": {
"app_code": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$"
},
"platform": {
"type": "string",
"enum": [
"global",
"android",
"ios"
]
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"app_code",
"platform",
"expected_revision",
"confirm"
]
}Меняет имя и описание собственной записи MCP после проверки контрольной суммы. Доступно, пока запись не связана с публичными файлами или изображениями.
app_code- строка · обязательный параметр
name- строка · обязательный параметр
short_name- строка · обязательный параметр
description- строка
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"additionalProperties": false,
"properties": {
"app_code": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$"
},
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"short_name": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 2000
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"app_code",
"name",
"short_name",
"expected_revision",
"confirm"
]
}Полностью заменяет поддерживаемые настройки выбранной платформы собственной записи MCP. Если штатный редактор добавил другие параметры, изменение потребует работы в нём.
app_code- строка · обязательный параметр
platform- строка · обязательный параметр
parameters- объект · обязательный параметр
expected_revision- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
{
"type": "object",
"additionalProperties": false,
"properties": {
"app_code": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"pattern": "^[A-Za-z0-9_-]+$"
},
"platform": {
"type": "string",
"enum": [
"global",
"android",
"ios"
]
},
"parameters": {
"type": "object",
"additionalProperties": false,
"properties": {
"statusBar/use_top_offset": {
"type": "boolean"
},
"statusBar/show_status_bar_without_nav_bar": {
"type": "boolean"
},
"statusBar/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"statusBar/opacity": {
"type": "number",
"minimum": 0.1,
"maximum": 1
},
"controller_settings/main_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/main_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/toolbar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_background/fill_mode": {
"type": "string",
"enum": [
"repeat",
"crop",
"stretch"
]
},
"controller_settings/navigation_bar_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/loading_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/progressbar_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"controller_settings/title_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/ios_use_square_buttons": {
"type": "boolean"
},
"buttons/default_back_button": {
"type": "string",
"enum": [
"default",
"back_text",
"back"
]
},
"buttons/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"buttons/badge/show_frame": {
"type": "boolean"
},
"buttons/badge/border_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/sections_background_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_shadow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/cell_detail_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"table/row_height": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/row_height_large": {
"type": "integer",
"minimum": 50,
"maximum": 500
},
"table/cell_background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/date_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"pull_down/text_style": {
"type": "string",
"enum": [
"normal",
"bold"
]
},
"pull_down/arrow_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"sliding_panel/background/color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_text_color": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"category_switcher/button_background_color_selected": {
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"minLength": 7,
"maxLength": 7
},
"additional/use_top_bar": {
"type": "boolean"
},
"additional/use_slider": {
"type": "boolean"
}
}
},
"expected_revision": {
"type": "string",
"maxLength": 64,
"minLength": 64,
"pattern": "^[a-f0-9]{64}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"app_code",
"platform",
"parameters",
"expected_revision",
"confirm"
]
}