describe
Captures a screenshot and uses vision AI to generate a text summary of visible page content, helping verify layouts, form success, errors, and visual state.
Instructions
Use vision AI to describe what's visible on the page. Takes a screenshot and returns a text description.
Configuration (optional - tool works without, but returns error if no key set):
Set OPENAI_API_KEY to use OpenAI (gpt-4o) - preferred if both are set
Set ANTHROPIC_API_KEY to use Anthropic (claude-sonnet-4)
If neither is configured, returns a graceful error message
Use cases:
Understand page layout and content without raw HTML
Check if forms submitted successfully
Identify error messages or alerts
Verify visual state after actions
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>"
},
"name": "describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Specific question about the screenshot (e.g., "What errors are visible?"). If omitted, provides a general description. | |
| session | Yes | The session name | |
| fullPage | No | Capture full scrollable page instead of viewport only. Ignored if selector is provided. Default: false | |
| selector | No | CSS selector for a specific element to describe. If omitted, describes the full viewport. |