chrome_inspect
Inspect a web element by UID or CSS selector to retrieve surrounding text, actions, form details, ancestor structure, and a suggested click target for automated browser control.
Instructions
Inspect one snapshot uid or selector deeply: nearby text, nearby actions, form context, ancestors, and suggested click target.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "chrome_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Stable element uid from chrome_snapshot/chrome_find. | |
| selector | No | CSS selector if uid is unavailable. | |
| targetId | No | Chrome tab id to target. | |
| background | No | If true, avoid explicit Chrome focus/tab activation (default). Pass false to allow foreground work. | |
| urlIncludes | No | Match the target tab by URL substring. | |
| titleIncludes | No | Match the target tab by title substring. | |
| scrollIntoView | No | If true, scroll the target into view before inspecting. Default false. |