Add OpenClaw configuration schema (openclaw.json)#5392
Open
aronchick wants to merge 2 commits intoSchemaStore:masterfrom
Open
Add OpenClaw configuration schema (openclaw.json)#5392aronchick wants to merge 2 commits intoSchemaStore:masterfrom
aronchick wants to merge 2 commits intoSchemaStore:masterfrom
Conversation
Contributor
|
Thanks for the PR! This section of the codebase is owned by @madskristensen and |
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a JSON Schema for
openclaw.json, the configuration file for OpenClaw — an open-source AI agent gateway that connects LLMs (Claude, GPT, Gemini, etc.) to messaging channels (Telegram, Discord, WhatsApp), scheduled cron tasks, and external tools.Schema details
openclaw.jsonhttps://raw.githubusercontent.com/aronchick/openclaw-schema/main/openclaw.schema.jsonWhat the schema covers
gateway— WebSocket server port, bind mode, auth (token/password/none)agents— agent definitions, model routing, heartbeat configchannels— Telegram, Discord plugin config with enums for valid valuesmodels— custom provider definitions with per-model cost/context infotools— web search, exec, agent-to-agent settingscron— scheduled job definitions with delivery target validationhooks,plugins,skills,session,logging,authMotivation
The internal OpenClaw schema exists (compiled into the gateway binary using ajv/zod) but is not publicly exported. Until openclaw/openclaw#22278 is resolved, this community-maintained schema provides IDE validation and auto-complete for all OpenClaw users.
Tested against OpenClaw
2026.2.19-2.