comet_wait
Waits for a specific CSS selector to appear or a fixed delay (0-120 seconds) after navigation or clicks, handling asynchronously loaded content before reading the page.
Instructions
Wait for a specific element to appear or a fixed duration.
Use after comet_click or comet_navigate when content loads asynchronously. Provide either selector OR seconds, not both. comet_search returns before the answer is ready, so wait with comet_wait or a fixed delay, then call comet_read_page.
Args: selector: CSS selector to wait for (e.g. 'div.results'). seconds: Fixed seconds to wait (0-120).
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_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | No | ||
| selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |