Comet AI
Comet AI
Download
AI Commands Reference

Command Reference

Canonical public command reference for Comet Browser, aligned with the landing page AI guide. Commands are documented JSON-first for reliable execution and indexing.

AI Guide Note

This page follows the public command set documented in Landing_Page/AI-GUIDE.md. Apple Intelligence stays documented under the native API, and cross-app OCR/click flows are described as native-first with OCR fallback.

Risk Levels:

Low
Medium
High

NAVIGATE

Bracket/JSON Format

Low Risk

Navigate to a specific URL. Supports HTTP, HTTPS, and file:// URLs.

Parameters (1 required)

url
Instant

SEARCH

Bracket Format

Low Risk

Perform a web search using the default search engine.

Parameters (1 required)

query
Instant

WEB_SEARCH

Bracket Format

Low Risk

Perform a real-time web search with RAG (Retrieval Augmented Generation) for up-to-date information.

Parameters (1 required)

query
Instant

RELOAD

Bracket Format

Low Risk

Refresh the current browser tab.

Parameters (0 required)

Instant

GO_BACK

Bracket Format

Low Risk

Navigate back in browser history.

Parameters (0 required)

Instant

GO_FORWARD

Bracket Format

Low Risk

Navigate forward in browser history.

Parameters (0 required)

Instant

READ_PAGE_CONTENT

Bracket Format

Low Risk

Extract and read text content from the active browser tab.

Parameters (0 required)

Instant

LIST_OPEN_TABS

Bracket Format

Low Risk

List all currently open browser tabs with their titles and URLs.

Parameters (0 required)

Instant

CREATE_PDF_JSON

JSON Format

Low Risk

Generate a structured, multi-page PDF document with advanced formatting options. PREFERRED method.

Parameters (2 required)

titletemplatecontentbranding+1 more
Instant

CREATE_FILE_JSON

JSON Format

Low Risk

Create various file formats (PDF, PPTX, DOCX) using structured JSON. Supports rich media slides.

Parameters (3 required)

formattitleslides
Instant

SHELL_COMMAND

JSON Format

High Risk

Execute terminal commands on the host operating system. All shell commands require explicit user approval.

Parameters (1 required)

commandshell
Requires Approval

SET_VOLUME

Bracket Format

Low Risk

Adjust the system volume level.

Parameters (1 required)

level
Instant

SET_BRIGHTNESS

Bracket Format

Low Risk

Adjust the display brightness level.

Parameters (1 required)

level
Instant

OPEN_APP

Bracket Format

Medium Risk

Launch an application on the host system.

Parameters (1 required)

appurl
Requires Approval

OCR_SCREEN

JSON Format

Low Risk

Capture the screen or a region and extract text. Comet uses native OS OCR and accessibility providers first, with image OCR as a fallback path.

Parameters (0 required)

region
Instant

OCR_COORDINATES

JSON Format

Low Risk

Resolve coordinates for visible text in desktop apps so Comet can target external UI reliably.

Parameters (1 required)

textthreshold
Instant

CLICK_APP_ELEMENT

JSON Format

High Risk

Click on an element in an external application using native-first visual matching and coordinate resolution.

Parameters (2 required)

apptextxy
Requires Approval

LIST_AUTOMATIONS

Bracket Format

Low Risk

List all scheduled automation tasks with their status and schedules.

Parameters (0 required)

Instant

DELETE_AUTOMATION

Bracket Format

Low Risk

Delete an automation task using its ID.

Parameters (1 required)

taskId
Requires Approval

SCHEDULE_TASK

JSON Format

Low Risk

Schedule a recurring automation task that runs through the background service even when the browser is closed.

Parameters (3 required)

scheduletypename
Instant

THINK

JSON Format

Low Risk

Expose the model's reasoning or intermediate thinking to the user for complex tasks.

Parameters (1 required)

reasoning
Instant

PLAN

JSON Format

Low Risk

Show the intended execution steps for a multi-step task before or during execution.

Parameters (1 required)

steps
Instant

PLUGIN_COMMAND

Bracket Format

Medium Risk

Execute a command defined by a plugin. Format: pluginId.commandName | params.

Parameters (1 required)

pluginCommandparams
Requires Approval

CLICK_ELEMENT

JSON/Bracket Format

Medium Risk

Click on a visible DOM element using visual intelligence (OCR + coordinate mapping).

Parameters (1 required)

textmatchTypeindex
Requires Approval

FIND_AND_CLICK

JSON/Bracket Format

Medium Risk

Find text on the current page and click nearby elements. Uses OCR for text detection.

Parameters (1 required)

findTextclickText
Requires Approval

FILL_FORM

JSON/Bracket Format

Medium Risk

Fill in form fields identified by label, placeholder, or name.

Parameters (2 required)

fieldsfields[].labelfields[].namefields[].value
Requires Approval

Quick Command Reference

NAVIGATE
SEARCH
WEB_SEARCH
RELOAD
GO_BACK
GO_FORWARD
READ_PAGE_CONTENT
LIST_OPEN_TABS
CREATE_PDF_JSON

Understand the Security Model

Learn how Comet AI protects your system with visual sandboxing, syntactic firewalls, and human-in-the-loop authorization.

Edit on GitHub