image_qa
Ask a vision question about a screenshot. The host LLM answers via MCP sampling when the sampling capability is present.
Instructions
Ask the connected host LLM a question about a caller-supplied screenshot. Forwards via MCP sampling/createMessage when the client advertises the sampling capability. Returns { status: "unsupported_by_host", reason } when the capability is absent — OpenChrome never uses its own API keys. The caller MUST supply one of screenshot.ref, screenshot.path, or screenshot.base64. No auto-capture.
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": {
"screenshot": "<screenshot>",
"question": "<question>"
},
"name": "image_qa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | Yes | REQUIRED Vision Q&A prompt for the host LLM. | |
| max_tokens | No | Optional sampling cap. Defaults to 512. | |
| screenshot | Yes | REQUIRED Exactly one of `ref`, `path`, or `base64` must be supplied. Optional `mime_type` defaults to `image/png`. |