Skip to main content

Documentation Index

Fetch the complete documentation index at: https://openclaw.ai2me.io/llms.txt

Use this file to discover all available pages before exploring further.

openclaw docs

Search the live OpenClaw docs index from the terminal. The command calls OpenClaw’s Cloudflare-hosted docs search API and renders the results in your terminal.

Usage

openclaw docs                       # print docs entrypoint and example search
openclaw docs <query...>            # search the live docs index
Arguments:
ArgumentDescription
[query...]Free-form search query. Multi-word queries are joined with spaces and sent as one.

Examples

openclaw docs browser existing-session
openclaw docs sandbox allowHostControl
openclaw docs gateway token secretref
With no query, openclaw docs prints the docs entrypoint URL plus a sample search command instead of running a search.

How it works

openclaw docs calls https://docs.openclaw.ai/api/search and renders the JSON results. The search call uses a fixed 30 second timeout.

Output

In a rich (TTY) terminal, results render as a heading followed by a bullet list. Each bullet shows the page title, the linked docs URL, and a short snippet on the next line. Empty results print “No results.”. In non-rich output (piped, --no-color, scripts), the same data renders as Markdown:
# Docs search: <query>

- [Title](https://docs.openclaw.ai/...) - snippet
- [Title](https://docs.openclaw.ai/...) - snippet

Exit codes

CodeMeaning
0Search succeeded (including zero-result responses).
1The hosted docs search API call failed; stderr is printed inline.