comet_read_page
Retrieve the text content of the current Comet page or active tab after a search, with optional CSS selector targeting and link extraction. Use it to read streamed answers or re-read specific page sections.
Instructions
Read the text content of the current page (or active tab) in Comet.
PRIMARY USE: Call this after comet_search to retrieve the streamed answer. Wait ~30-45s (research mode) or ~15-20s (search mode) before calling. If the answer is still loading ("Searching the web" in output), wait longer and call again.
Also use to drill into specific page sections or re-read content. Content is auto-sanitized — if injections are detected, run comet_security_scan.
Args: selector: Optional CSS selector to read specific content (e.g. 'main'). include_links: Whether to include href URLs from links. max_length: Maximum characters to return (default 50000).
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": "comet_read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| max_length | No | ||
| include_links | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |