MCP Control
Компания и доступ · Чтение

Система · Журналы · Просмотр

system_logs_get
Папки документов

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

Получить данные
  1. Вы указываетеLogid
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Система / Журналы / Просмотр» выполни чтение по выбранной записи (logId). Выведи кратко: logId, timestamp.
Что искать в ответе
logId
Поле ответа
timestamp
Поле ответа
severity
Поле ответа
Задать параметры
  1. Вы указываетеLogid
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Система / Журналы / Просмотр» на учебном примере с logId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
logId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Система / Журналы / Просмотр» объясни logId, timestamp. Отметь отсутствующие значения.
Поля для проверки
logId
Поле ответа
timestamp
Поле ответа
severity
Поле ответа
Как работает действие

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

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

Re-read one company server log using its exact search locator. Revalidates current company administration and excludes all raw payloads or secrets. Does not execute a repair.

Параметры запроса
logId
Exact locator from system_logs_search; company is rechecked. обязательно по схеме · string · до символов 2000
Что вернёт команда
logId
Opaque locator for system_logs_get. It does not grant access. обязательно по схеме · string
timestamp
Original server log timestamp. обязательно по схеме · string
severity
Cloud Logging severity. обязательно по схеме · string · варианты DEFAULT, DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY
service
Cloud Run service or Cloud Function. обязательно по схеме · string
revision
Deployed revision where present. обязательно по схеме · string / null
module
Explicit module tag, or null for older logs. обязательно по схеме · string / null
event
Structured event name, or null. обязательно по схеме · string / null
action
Canonical MCP action where recorded. обязательно по схеме · string / null
errorCode
Stored technical code; no code is inferred from arbitrary provider text. обязательно по схеме · string / null
causeCode
Underlying transport/provider code if logged. обязательно по схеме · string / null
reasonCode
Bounded symbolic backend reason, when recorded. обязательно по схеме · string / null
upstreamService
Exact existing callable/backend name, without a URL. обязательно по схеме · string / null
errorType
Exception class if recorded. обязательно по схеме · string / null
statusCode
Stored upstream HTTP status if available. обязательно по схеме · integer / null
durationMs
Recorded elapsed duration, not inferred. обязательно по схеме · number / null
status
Recorded operation state. A completed MCP request is not proof of customer delivery. обязательно по схеме · string / null
correlation
Available exact references for further diagnosis. обязательно по схеме · object
frames
Source basenames and line/column numbers only. No arbitrary stack text. обязательно по схеме · array · до элементов 6
fingerprint
Failure grouping key, stored or derived from code, exception type and source frames; never from business payloads. обязательно по схеме · string / null
retryable
Recorded transport retryability; does not authorize replaying a business write. обязательно по схеме · boolean / null
beforeSideEffect
Whether the producer proved failure before side effects; null means unknown. обязательно по схеме · boolean / null
nextStep
Diagnostic guidance, not a repair action or proof of the root cause. обязательно по схеме · string
payloadOmitted
Raw messages, payloads, headers, URLs, customer text and secrets are deliberately omitted. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа system_logs_get
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "logId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "Exact locator from system_logs_search; company is rechecked."
    }
  },
  "required": [
    "logId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "logId": {
      "type": "string",
      "description": "Opaque locator for system_logs_get. It does not grant access."
    },
    "timestamp": {
      "type": "string",
      "description": "Original server log timestamp."
    },
    "severity": {
      "type": "string",
      "enum": [
        "DEFAULT",
        "DEBUG",
        "INFO",
        "NOTICE",
        "WARNING",
        "ERROR",
        "CRITICAL",
        "ALERT",
        "EMERGENCY"
      ],
      "description": "Cloud Logging severity."
    },
    "service": {
      "type": "string",
      "description": "Cloud Run service or Cloud Function."
    },
    "revision": {
      "description": "Deployed revision where present.",
      "type": [
        "string",
        "null"
      ]
    },
    "module": {
      "description": "Explicit module tag, or null for older logs.",
      "type": [
        "string",
        "null"
      ]
    },
    "event": {
      "description": "Structured event name, or null.",
      "type": [
        "string",
        "null"
      ]
    },
    "action": {
      "description": "Canonical MCP action where recorded.",
      "type": [
        "string",
        "null"
      ]
    },
    "errorCode": {
      "description": "Stored technical code; no code is inferred from arbitrary provider text.",
      "type": [
        "string",
        "null"
      ]
    },
    "causeCode": {
      "description": "Underlying transport/provider code if logged.",
      "type": [
        "string",
        "null"
      ]
    },
    "reasonCode": {
      "description": "Bounded symbolic backend reason, when recorded.",
      "type": [
        "string",
        "null"
      ]
    },
    "upstreamService": {
      "description": "Exact existing callable/backend name, without a URL.",
      "type": [
        "string",
        "null"
      ]
    },
    "errorType": {
      "description": "Exception class if recorded.",
      "type": [
        "string",
        "null"
      ]
    },
    "statusCode": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored upstream HTTP status if available."
    },
    "durationMs": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ],
      "description": "Recorded elapsed duration, not inferred."
    },
    "status": {
      "description": "Recorded operation state. A completed MCP request is not proof of customer delivery.",
      "type": [
        "string",
        "null"
      ]
    },
    "correlation": {
      "type": "object",
      "properties": {
        "diagnosticId": {
          "description": "Stored safe diagnosticId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "requestId": {
          "description": "Stored safe requestId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "callId": {
          "description": "Stored safe callId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "flowId": {
          "description": "Stored safe flowId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "runId": {
          "description": "Stored safe runId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "nodeId": {
          "description": "Stored safe nodeId, or null.",
          "type": [
            "string",
            "null"
          ]
        },
        "traceId": {
          "description": "Stored safe traceId, or null.",
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "diagnosticId",
        "requestId",
        "callId",
        "flowId",
        "runId",
        "nodeId",
        "traceId"
      ],
      "additionalProperties": false,
      "description": "Available exact references for further diagnosis."
    },
    "frames": {
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Source basenames and line/column numbers only. No arbitrary stack text."
    },
    "fingerprint": {
      "description": "Failure grouping key, stored or derived from code, exception type and source frames; never from business payloads.",
      "type": [
        "string",
        "null"
      ]
    },
    "retryable": {
      "description": "Recorded transport retryability; does not authorize replaying a business write.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "beforeSideEffect": {
      "description": "Whether the producer proved failure before side effects; null means unknown.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "nextStep": {
      "type": "string",
      "description": "Diagnostic guidance, not a repair action or proof of the root cause."
    },
    "payloadOmitted": {
      "type": "boolean",
      "const": true,
      "description": "Raw messages, payloads, headers, URLs, customer text and secrets are deliberately omitted."
    }
  },
  "required": [
    "logId",
    "timestamp",
    "severity",
    "service",
    "revision",
    "module",
    "event",
    "action",
    "errorCode",
    "causeCode",
    "reasonCode",
    "upstreamService",
    "errorType",
    "statusCode",
    "durationMs",
    "status",
    "correlation",
    "frames",
    "fingerprint",
    "retryable",
    "beforeSideEffect",
    "nextStep",
    "payloadOmitted"
  ],
  "additionalProperties": false
}