Skip to main content
Get the durable public AG-UI event log for a project-agent run.

Tool details

FieldValue
Nameget_agent_run_events
GroupConversations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "conversation_id": {
      "type": "string",
      "format": "uuid",
      "description": "Conversation identifier that scopes the request."
    },
    "run_id": {
      "type": "string",
      "minLength": 1,
      "description": "Run identifier that scopes the request."
    },
    "after_event_id": {
      "type": "integer",
      "minimum": 0,
      "description": "Provide the after event id."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "description": "Maximum number of results to return."
    }
  },
  "required": [
    "conversation_id",
    "run_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_agent_run_events tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "event_id": {
            "type": "integer",
            "minimum": 0,
            "description": "Monotonic event identifier within the run."
          },
          "event_type": {
            "type": "string",
            "minLength": 1,
            "description": "Persisted event type for this run event."
          },
          "event": {
            "description": "Event payload emitted by the run."
          }
        },
        "required": [
          "event_id",
          "event_type"
        ],
        "additionalProperties": false,
        "description": "One persisted agent run event."
      },
      "description": "Event records for the requested page."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor representing the current page."
        },
        "first": {
          "type": "null",
          "description": "Always null because these MCP pagination flows do not expose a first-page cursor."
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page, or null when there are no more results."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page, or null when unavailable."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursors for the agent run event list."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "description": "Paginated agent run event list response.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}