MCP Control
Интеграции · Чтение

Реклама · Подключения · Список

ads_connections_list
Карточки процесса, соединённые нитями

Попробуйте три запроса

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Реклама / Подключения / Список» выполни чтение в текущей компании. Выведи кратко: companyId, connections.
Что искать в ответе
companyId
Поле ответа
connections
Поле ответа
Уточнить условия
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Для «Реклама / Подключения / Список» перечисли допустимые условия чтения. Уточни, какие значения нужны для моей задачи, до запроса данных.
Параметры примера
Контракт
См. полную схему
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Реклама / Подключения / Список» объясни companyId, connections. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
connections
Поле ответа
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

Read the existing Ads backend connection and capability state for each company advertising provider. Returns bounded public account identifiers and capability availability, never OAuth tokens or credentials. A connected flag reflects stored connection state, not a live provider health check. Site MCP is separate.

Параметры запроса

Именованных полей верхнего уровня в схеме нет.

Что вернёт команда
companyId
Company whose advertising connections were read. обязательно по схеме · string
connections
Bounded company advertising provider connections from the existing Ads backend. обязательно по схеме · array · до элементов 40
Поля и технические схемы
Входные поля и поля ответа ads_connections_list
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Company whose advertising connections were read."
    },
    "connections": {
      "minItems": 1,
      "maxItems": 40,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,63}$",
            "description": "Canonical advertising provider identifier from the shared backend."
          },
          "label": {
            "type": "string",
            "maxLength": 100,
            "description": "Public display name of the advertising provider."
          },
          "connected": {
            "type": "boolean",
            "description": "Stored connection state; this does not prove a live provider request."
          },
          "connectionId": {
            "type": "string",
            "maxLength": 256,
            "description": "Company-owned public connection identifier, or empty when absent."
          },
          "connectionStatus": {
            "type": "string",
            "maxLength": 120,
            "description": "Stored connection lifecycle status."
          },
          "tokenHealth": {
            "type": "string",
            "maxLength": 120,
            "description": "Stored token-health status; no credential is returned."
          },
          "account": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 256,
                "description": "Configured advertising account identifier, or empty."
              },
              "name": {
                "type": "string",
                "maxLength": 200,
                "description": "Public account display name, or empty."
              },
              "managerId": {
                "type": "string",
                "maxLength": 256,
                "description": "Configured manager account identifier, or empty."
              }
            },
            "required": [
              "id",
              "name",
              "managerId"
            ],
            "additionalProperties": false,
            "description": "Public account selection metadata."
          },
          "capabilities": {
            "maxItems": 24,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
                  "description": "Provider capability identifier."
                },
                "available": {
                  "type": "boolean",
                  "description": "Whether the shared backend currently considers the capability available."
                },
                "status": {
                  "type": "string",
                  "maxLength": 120,
                  "description": "Availability status from the shared backend."
                },
                "reason": {
                  "type": "string",
                  "maxLength": 160,
                  "description": "Reason code from the shared backend."
                }
              },
              "required": [
                "name",
                "available",
                "status",
                "reason"
              ],
              "additionalProperties": false
            },
            "description": "Provider capability states, with no credential values."
          }
        },
        "required": [
          "provider",
          "label",
          "connected",
          "connectionId",
          "connectionStatus",
          "tokenHealth",
          "account",
          "capabilities"
        ],
        "additionalProperties": false
      },
      "description": "Bounded company advertising provider connections from the existing Ads backend."
    }
  },
  "required": [
    "companyId",
    "connections"
  ],
  "additionalProperties": false
}