> Dea 0.9.9 documentation.
> Canonical page: https://dea.dardanica.app/docs/reference/tools/get-events/
> Documentation index: https://dea.dardanica.app/llms.txt

# get_events

Read buffered events the browser reported: console (console logs, with level), pageerror (uncaught JS errors), navigation, network (an XHR/Fetch response arrived, with its id and status), message (data a page sent via window.dea.send, source=page). Each event has a seq; pass since_seq to get only newer ones.

## Example

Call this MCP tool with the argument object below. Replace illustrative IDs, selectors, local paths, and project URLs with values observed in your session.


```json
{
  "kind": "console",
  "level": "error",
  "limit": 20
}
```


## Result

Returns matching buffered events and sequence information. Save latest_seq to request or wait for newer events without losing a fast response.

Results arrive in MCP content blocks. Most structured results are JSON in text blocks; image tools can include image blocks. Handle errors and partial or truncated data. No formal output schema is declared for this tool.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | string | No | console, pageerror, navigation, network, message |
| `term` | string | No | Only events from this terminal id |
| `source` | string | No | page or terminal |
| `level` | string | No | For console: log, info, warn, error |
| `url_contains` | string | No | See usage and full schema below. |
| `text_contains` | string | No | See usage and full schema below. |
| `since_seq` | number | No | See usage and full schema below. |
| `limit` | number | No | See usage and full schema below. |
| `tab` | string | No | Tab name or id in your workspace; does not change the visible tab. minLength: 1 |


## Full input schema

The schema includes nested shapes and constraints. Additional semantic constraints can apply at runtime; read the description and usage notes.


```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "kind": {
      "description": "console, pageerror, navigation, network, message",
      "type": "string"
    },
    "term": {
      "description": "Only events from this terminal id",
      "type": "string"
    },
    "source": {
      "description": "page or terminal",
      "type": "string"
    },
    "level": {
      "description": "For console: log, info, warn, error",
      "type": "string"
    },
    "url_contains": {
      "type": "string"
    },
    "text_contains": {
      "type": "string"
    },
    "since_seq": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    },
    "tab": {
      "description": "Tab name or id in your workspace; does not change the visible tab.",
      "type": "string",
      "minLength": 1
    }
  },
  "additionalProperties": false
}
```


## Related documentation

[Reference conventions](https://dea.dardanica.app/docs/reference/) · [Agent operating guide](https://dea.dardanica.app/docs/agents/) · [Troubleshooting](https://dea.dardanica.app/docs/troubleshooting/)
