# List run events

Tool: `veryfront__list_run_events`

Read run event details: errors, steps, model calls and tool results, paginated by canonical UUID; MODEL\_CALL\_COMPLETED reports per-call usage.

## Arguments

| Name                   | Type                                           | Required | Description                                                         |
| ---------------------- | ---------------------------------------------- | -------- | ------------------------------------------------------------------- |
| `run_id`               | string · min length 1 · max length 128         | Yes      | Run identifier that scopes the request.                             |
| `event_representation` | string                                         |          | Provide the event representation.                                   |
| `cursor`               | string \| string · min length 1                |          | Opaque pagination cursor returned by a previous response.           |
| `limit`                | integer · min 1 · max 100 · default 20         |          | Maximum number of records in a page, from 1 to 100. Defaults to 20. |
| `sort_order`           | string · default asc                           |          | Provide the sort order. One of `asc`, `desc`.                       |
| `after_event_id`       | integer · min 0 · max 9007199254740991 \| null |          | Provide the after event id.                                         |
| `event_class`          | string                                         |          | Provide the event class. One of `fact`, `delta`.                    |
| `event_type`           | array of string                                |          | Provide one or more event type values.                              |
| `is_error`             | string                                         |          | Provide the is error. One of `true`, `false`.                       |
| `start`                | string · date-time                             |          | Provide the start.                                                  |
| `end`                  | string · date-time                             |          | Provide the end.                                                    |
| `span_id`              | string · min length 1                          |          | Provide the span id.                                                |
| `turn_id`              | string · min length 1                          |          | Provide the turn id.                                                |
| `search`               | string · min length 1 · max length 200         |          | Provide the search.                                                 |
| `include_descendants`  | string · default false                         |          | Provide the include descendants. One of `true`, `false`.            |
| `cursor_profile`       | string                                         |          | Provide the cursor profile.                                         |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_run_events",
    "arguments": {
      "run_id": "a"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"data\":[{\"event_id\":0,\"event_type\":\"string\",\"payload\":null,\"is_error\":false,\"created_at\":\"string\",\"run_id\":\"00000000-0000-0000-0000-000000000000\",\"event_class\":\"fact\",\"span_id\":\"string\",\"parent_span_id\":\"string\",\"turn_id\":\"string\",\"origin_event_type\":\"string\",\"origin_custom_name\":\"string\",\"unrecoverable_fields\":[\"string\"]}],\"page_info\":{\"next\":\"string\"}}"
      }
    ],
    "structuredContent": {
      "data": [
        {
          "event_id": 0,
          "event_type": "string",
          "payload": null,
          "is_error": false,
          "created_at": "string",
          "run_id": "00000000-0000-0000-0000-000000000000",
          "event_class": "fact",
          "span_id": "string",
          "parent_span_id": "string",
          "turn_id": "string",
          "origin_event_type": "string",
          "origin_custom_name": "string",
          "unrecoverable_fields": [
            "string"
          ]
        }
      ],
      "page_info": {
        "next": "string"
      }
    }
  }
}
```
