Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| COMET_PATH | No | Custom path to Comet executable (auto-detected if not set) | |
| COMET_PORT | No | CDP debugging port | 9223 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| comet_connect | Connect to Comet browser (auto-starts if needed) |
| comet_ask | Send a prompt to Comet/Perplexity and wait for the complete response (blocking). Ideal for tasks requiring real browser interaction (login walls, dynamic content, filling forms) or deep research with agentic browsing. |
| comet_poll | Check agent status and progress. Call repeatedly to monitor agentic tasks. |
| comet_stop | Stop the current agent task if it's going off track |
| comet_screenshot | Capture a screenshot of current page |
| comet_tabs | View and manage browser tabs. Shows all open tabs with their purpose, domain, and status. Helps coordinate multi-tab workflows without creating duplicate tabs. |
| comet_mode | Switch Perplexity search mode. Modes: 'search' (basic), 'research' (deep research), 'labs' (analytics/visualization), 'learn' (educational). Call without mode to see current mode. |
| comet_upload | Upload a file to a file input on the current page. Use this to attach images, documents, or other files to forms, posts, or upload dialogs. The file must exist on the local filesystem. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |