К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/mcp-storefront.mdиндекс документации — /llms.txt

MCP: storefront

Обновлено

MCP: storefront

Это определения инструментов из текущего ToolRegistry, включая полные inputSchema/outputSchema, scope, required_scopes (ALL), risk и версию платформы. Наличие определения не означает, что инструмент уже установлен вашим хостом или разрешён вашим credential. Обновляйте tools/list после изменения бизнеса, readiness и прав. Progressive disclosure через load_domain/describe_tool и существующий meta-dispatch описаны в MCP-руководстве. Scopes и права применяются при вызове; risk не заменяет согласие и отдельные требования денежной операции. JSON ниже — схема, а не успешный результат вызова.

get_storefront

Read the tenant public-storefront display settings: whether the site is live (enabled), its URL slug ({slug}.telegafirst.ru/.com), and the public page title + subtitle. 0-cost read.

{
  "description": "Read the tenant public-storefront display settings: whether the site is live (enabled), its URL slug ({slug}.telegafirst.ru/.com), and the public page title + subtitle. 0-cost read.",
  "domain": "storefront",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "name": "get_storefront",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "storefront:read"
  ],
  "risk": "read",
  "scope": "storefront:read",
  "title": "Get Storefront"
}

update_storefront

Update the tenant storefront display settings (partial patch — send only the fields you change; pass null to clear the title/subtitle). Toggle enabled to publish/unpublish the site. The slug is chosen once at onboarding and cannot change: a slug equal to the current one is ignored, any other value errors SLUG_IMMUTABLE. Idempotent. Returns the full updated storefront.

{
  "description": "Update the tenant storefront display settings (partial patch — send only the fields you change; pass null to clear the title/subtitle). Toggle `enabled` to publish/unpublish the site. The slug is chosen once at onboarding and cannot change: a slug equal to the current one is ignored, any other value errors SLUG_IMMUTABLE. Idempotent. Returns the full updated storefront.",
  "domain": "storefront",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "bot": {
        "description": "Optional slug of the bot you expect to act on (get_active_bot). If the active bot differs, the call is refused with ACTIVE_BOT_CHANGED and nothing runs.",
        "maxLength": 128,
        "minLength": 1,
        "type": "string"
      },
      "enabled": {
        "description": "Value for enabled.",
        "type": "boolean"
      },
      "slug": {
        "description": "Value for slug.",
        "type": "string"
      },
      "subtitle": {
        "anyOf": [
          {
            "description": "Value for subtitle option.",
            "maxLength": 256,
            "type": "string"
          },
          {
            "description": "Value for subtitle option.",
            "type": "null"
          }
        ],
        "description": "Value for subtitle."
      },
      "title": {
        "anyOf": [
          {
            "description": "Value for title option.",
            "maxLength": 128,
            "type": "string"
          },
          {
            "description": "Value for title option.",
            "type": "null"
          }
        ],
        "description": "Value for title."
      }
    },
    "type": "object"
  },
  "name": "update_storefront",
  "outputSchema": null,
  "platform_version": "1.0.19",
  "required_scopes": [
    "storefront:write"
  ],
  "risk": "write",
  "scope": "storefront:write",
  "title": "Update Storefront"
}