Get run snapshot

veryfront__get_run_snapshot

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
run_idstringYesRun identifier that scopes the request. Format: uuid.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_run_snapshot",
    "arguments": {
      "run_id": "00000000-0000-4000-8000-000000000000"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
after_event_idintegerYesCursor for continuing event reads after this snapshot. Minimum: 0.
eventsobject[]YesList of events returned by the tool.

Full schemas

json
{
  "type": "object",
  "properties": {
    "run_id": {
      "type": "string",
      "format": "uuid",
      "description": "Run identifier that scopes the request."
    }
  },
  "required": [
    "run_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the get_run_snapshot tool."
}
json
{
  "type": "object",
  "properties": {
    "after_event_id": {
      "type": "integer",
      "minimum": 0,
      "description": "Cursor for continuing event reads after this snapshot."
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "event_id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "description": "The event id returned by the tool."
              },
              {
                "type": "null",
                "description": "The event id returned by the tool."
              }
            ],
            "description": "The event id returned by the tool."
          },
          "event_type": {
            "type": "string",
            "description": "The event type returned by the tool."
          },
          "payload": {
            "description": "The payload returned by the tool."
          },
          "is_error": {
            "type": "boolean",
            "description": "The is error returned by the tool."
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp in ISO 8601 format."
              },
              {
                "type": "null",
                "description": "Creation timestamp in ISO 8601 format."
              }
            ],
            "description": "Creation timestamp in ISO 8601 format."
          },
          "run_id": {
            "type": "string",
            "format": "uuid",
            "description": "Run identifier associated with the record."
          },
          "event_class": {
            "type": "string",
            "enum": [
              "fact",
              "delta"
            ],
            "description": "The event class associated with this record."
          },
          "span_id": {
            "type": "string",
            "minLength": 1,
            "description": "The span id associated with this record."
          },
          "parent_span_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The parent span id returned by the tool."
              },
              {
                "type": "null",
                "description": "The parent span id returned by the tool."
              }
            ],
            "description": "The parent span id associated with this record."
          },
          "turn_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The turn id returned by the tool."
              },
              {
                "type": "null",
                "description": "The turn id returned by the tool."
              }
            ],
            "description": "The turn id associated with this record."
          },
          "origin_event_type": {
            "type": "string",
            "minLength": 1,
            "description": "The origin event type associated with this record."
          },
          "origin_custom_name": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "description": "The origin custom name returned by the tool."
              },
              {
                "type": "null",
                "description": "The origin custom name returned by the tool."
              }
            ],
            "description": "The origin custom name associated with this record."
          },
          "unrecoverable_fields": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "description": "One unrecoverable field item associated with this record."
            },
            "description": "List of unrecoverable fields associated with this record."
          }
        },
        "required": [
          "event_id",
          "event_type",
          "payload",
          "is_error",
          "created_at",
          "run_id",
          "event_class",
          "span_id",
          "parent_span_id",
          "turn_id",
          "origin_event_type",
          "origin_custom_name",
          "unrecoverable_fields"
        ],
        "additionalProperties": false,
        "description": "One event item returned by the tool."
      },
      "description": "List of events returned by the tool."
    }
  },
  "required": [
    "after_event_id",
    "events"
  ],
  "additionalProperties": false,
  "description": "Replay events with a continuation cursor. For task and workflow histories over 5000 events or 10 MiB, use paginated event reads.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}