> ## Documentation Index
> Fetch the complete documentation index at: https://docs.browspark.krishm.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# devtools_audit

> Instant 360-degree page health check: evaluates console runtime errors, failed network requests, horizontal layout overflow (scrollbars), broken images, WCAG 2.

Instant 360-degree page health check: evaluates console runtime errors, failed network requests, horizontal layout overflow (scrollbars), broken images, WCAG 2.1 AA accessibility (unlabelled buttons/inputs, duplicate IDs), Core Web Vitals, and SEO. In-page DOM audits work across Chromium and Firefox in both modes; console and network capture require active DevTools capture sessions. Returns a health score (0-100), letter grade, and actionable element refs \[ref=e12].

<Note>The tool names stay the same across browsers. See [browser selection](/reference/multiple-browsers) and [Firefox and Zen exceptions](/reference/firefox) before choosing an operation.</Note>

<Note>Runs in-page checks for layout overflow, broken images, WCAG accessibility, and SEO across Chromium and Firefox in both modes. Console runtime errors and network requests are inspected from active DevTools capture sessions (available in Chromium and developer-mode Firefox; Firefox extension mode does not support native capture sessions).</Note>

## Parameters

<ParamField body="tabId" type="integer">
  Target tab id from browser\_tabs, which lists tabs across all windows. Defaults to the agent's most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
</ParamField>

<ParamField body="categories" type="enum[]">
  Categories to audit (default: all) Items: `errors`, `network`, `layout`, `accessibility`, `performance`, `security`, `seo`.
</ParamField>

<ParamField body="threshold" type="enum" required default="all">
  Filter findings: "all" (all items), "warnings" (warnings and errors), or "errors" (errors only) One of: `all`, `warnings`, `errors`.
</ParamField>

<ParamField body="summaryOnly" type="boolean">
  Return scores and counts without individual item details
</ParamField>

<ParamField body="saveReport" type="boolean" required default="true">
  Save diagnostic report artifact (default: true)
</ParamField>

## Example

```json Full 360-degree health audit of the active page theme={null}
{
  "tabId": 1234
}
```

```json Check responsive layout and accessibility only theme={null}
{
  "tabId": 1234,
  "categories": [
    "layout",
    "accessibility"
  ]
}
```

```json Errors only theme={null}
{
  "tabId": 1234,
  "threshold": "errors"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.