Command Reference
Complete reference for all AI commands supported by Comet Browser. Commands are issued as structured JSON for precise execution, though natural language is also understood.
Risk Levels:
CREATE_PDF_JSON
JSON Format
Generate a structured, multi-page PDF document with advanced formatting options.
Parameters (2 required)
titletemplatecontentbranding+1 moreGENERATE_PDF
DeprecatedJSON Format
Legacy PDF generation command. Prefer CREATE_PDF_JSON for new implementations.
Parameters (1 required)
contentfilenameSHELL_COMMAND
JSON Format
Execute terminal commands on the host operating system. All shell commands require explicit user approval.
Parameters (1 required)
commandshellNAVIGATE
JSON Format
Navigate to a specific URL or perform a web search.
Parameters (1 required)
urlnewTabbackgroundCLICK_ELEMENT
JSON Format
Click on a visible DOM element using visual intelligence (OCR + coordinate mapping).
Parameters (1 required)
textmatchTypeindexFIND_AND_CLICK
JSON Format
Find text on the current page and click nearby elements. Uses OCR for text detection.
Parameters (1 required)
findTextclickTextFILL_FORM
JSON Format
Fill in form fields identified by label, placeholder, or name.
Parameters (2 required)
fieldsfields[].labelfields[].namefields[].valueSCROLL
JSON Format
Scroll the page by a specified amount or to a specific element.
Parameters (1 required)
directionamountSET_VOLUME
JSON Format
Adjust the system volume level.
Parameters (1 required)
levelrelativeSET_BRIGHTNESS
JSON Format
Adjust the display brightness level.
Parameters (1 required)
levelOPEN_APP
JSON Format
Launch an application on the host system.
Parameters (1 required)
appurlOCR_SCREEN
JSON Format
Capture the screen and extract text using OCR. Useful for reading content from non-web sources.
Parameters (0 required)
regionOCR_COORDINATES
JSON Format
Get screen coordinates for a specific text element. Used for precise clicking.
Parameters (1 required)
textthresholdCLICK_APP_ELEMENT
JSON Format
Click on an element in an external (non-browser) application using OCR coordinates.
Parameters (2 required)
apptextxySCHEDULE_TASK
JSON Format
Schedule a task to run automatically at specified times. Tasks run even when browser is closed.
Parameters (3 required)
taskTypeschedulepromptmodel+1 moreQuick Command Reference
CREATE_PDF_JSONGENERATE_PDFSHELL_COMMANDNAVIGATECLICK_ELEMENTFIND_AND_CLICKFILL_FORMSCROLLSET_VOLUMEUnderstand the Security Model
Learn how Comet AI protects your system with visual sandboxing, syntactic firewalls, and human-in-the-loop authorization.