app_screenshot
Capture a PNG screenshot of the app window or a specific element using CSS selector or visible text for component-level visual diffing.
Instructions
Take a PNG screenshot of the running app window, or of a single element if a selector/text target is given (for focused visual diffing of one component).
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": "app_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Target by visible text or accessible name (e.g. "Browse") | |
| exact | No | With text: require an exact match instead of substring | |
| selector | No | CSS selector for the element |