ask_ai_page
Submit prompts to browser-based AI interfaces and read responses. Identifies login or CAPTCHA pages needing user action.
Instructions
Submit a prompt to a generic browser AI page and read the response. Login/CAPTCHA pages return needsUser=true.
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": {
"prompt": "<prompt>",
"inputSelector": "<inputSelector>",
"submitSelector": "<submitSelector>",
"responseSelector": "<responseSelector>"
},
"name": "ask_ai_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt to submit. | |
| inputSelector | Yes | CSS selector for the prompt input. | |
| submitSelector | Yes | CSS selector for the submit button. | |
| responseSelector | Yes | CSS selector for the answer container. | |
| tabId | No | Optional Chrome tab id. Defaults to the first page tab. | |
| timeoutMs | No | Maximum time to wait for the response. | |
| blockedSelectors | No | Selectors that mean human intervention is needed. |