OpenClaw settings reference
此内容尚不支持你的语言。
Channel settings
| Key | Type | Description |
|---|---|---|
agent-wechat | channel | WeChat messaging through the standalone native daemon. |
agent-wechat.allowFrom | array | |
agent-wechat.backend | string, values native | |
agent-wechat.calls | object | Independent voice and video permissions. Voice includes direct calls and separately configured conferences; both default off. |
agent-wechat.calls.video | object | |
agent-wechat.calls.video.enabled | boolean, default false | Allow video independently of voice. Current video capability is unavailable; permission alone never answers a video call or routes it as voice. |
agent-wechat.calls.voice | object | |
agent-wechat.calls.voice.agentId | string, min length 1, max length 200 | |
agent-wechat.calls.voice.allowConsultSessionPersistence | boolean, default false | Required for consultation. OpenClaw creates separate agent sessions for calls which can persist. This adapter stores no recordings; with consultation.summary it keeps the last few call summaries for each contact. |
agent-wechat.calls.voice.conferences | object | |
agent-wechat.calls.voice.conferences.groups | object | Exact group IDs or ''. An exact rule overrides the wildcard, including autoJoin=false. Wildcard auto-join requires autoJoinAllowFrom; use [''] to accept any inviter. |
agent-wechat.calls.voice.conferences.groups.* | object | |
agent-wechat.calls.voice.conferences.groups.*.autoJoin | boolean, default false | Join current authenticated invitations matching this group rule after voice preflight. No configured groups means no conference automation. |
agent-wechat.calls.voice.conferences.groups.*.autoJoinAllowFrom | array, max items 128 | Conference inviter IDs; ’*’ accepts any inviter and an empty list disables auto-join. Required for wildcard-group auto-join. An exact group may omit this field to accept any inviter. The current inviter is rechecked before joining. |
agent-wechat.calls.voice.conferences.groups.*.ownerInviterToolPolicy | string, values none|safe-read-only|owner | Optional policy for calls whose authenticated inviter exactly matches an agent-wechat:CONTACT_ID owner grant. Otherwise toolPolicy applies. Owner also requires voice.toolPolicy=owner and an exact group owner grant. Applies to the whole call, including later participants; permissions can decrease but cannot increase during a call. |
agent-wechat.calls.voice.conferences.groups.*.sessionKey | string, max length 1024, pattern ^agent:[a-z0-9][a-z0-9_-]{0,63}:[^:\s][^\s]*$ | Optional consultation parent session of this voice agent for this group. Default sessions are isolated by account, group and authority. |
agent-wechat.calls.voice.conferences.groups.*.toolPolicy | string, values none|safe-read-only|owner, default safe-read-only | Conference consultation authority. Owner requires voice.toolPolicy=owner and an exact agent-wechat:GROUP_ID grant in commands.ownerAllowFrom. It trusts the whole group without attributing speech to a person; otherwise consultation stays read-only. |
agent-wechat.calls.voice.consultation | object | |
agent-wechat.calls.voice.consultation.inboundSessionKey | string, max length 1024, pattern ^agent:[a-z0-9][a-z0-9_-]{0,63}:[^:\s][^\s]*$ | Optional existing session of the selected agent to fork into a call’s session when that session is first created by an admitted incoming call. |
agent-wechat.calls.voice.consultation.recentMessages | integer, min 0, max 50, default 10 | How many of the latest messages of your WeChat chat with the caller the call’s first consultation gets as context; 0 turns this off. |
agent-wechat.calls.voice.consultation.summary | boolean, default true | After an answered call, give the call’s transcript to the agent in the call’s session and keep its short summary. The summary is also left as a note in your WeChat chat with the caller, and calls placed with the wechat_call tool report it to the session that placed them. |
agent-wechat.calls.voice.consultation.timeoutMs | integer, min 1000, max 120000, default 30000 | |
agent-wechat.calls.voice.enabled | boolean, default false | Enable voice calling. Conferences require an exact group rule or an explicit wildcard group rule. Disabled voice calls are ignored without answering or declining. |
agent-wechat.calls.voice.inboundAllowFrom | array, max items 128 | Direct-call caller IDs; an explicit ’*’ accepts any incoming caller. Admission does not grant owner consultation. |
agent-wechat.calls.voice.inboundPolicy | string, values disabled|allowlist | |
agent-wechat.calls.voice.maxDurationSeconds | integer, min 30, max 3600, default 3600 | |
agent-wechat.calls.voice.mode | string, values bidi|agent, default bidi | bidi uses a realtime voice model (including Live); agent transcribes speech, runs the configured OpenClaw agent and speaks through OpenClaw TTS. Applies to direct calls and conferences. |
agent-wechat.calls.voice.outboundAllowTo | array, max items 128 | |
agent-wechat.calls.voice.outboundPolicy | string, values disabled|allowlist | |
agent-wechat.calls.voice.outboundToolAllowFrom | array, max items 128 | |
agent-wechat.calls.voice.realtime | object | |
agent-wechat.calls.voice.realtime.agentContext | object | |
agent-wechat.calls.voice.realtime.agentContext.enabled | boolean, default false | Use OpenClaw’s shared voice context to send bounded IDENTITY.md, USER.md and SOUL.md excerpts for direct calls and conferences. Configured agent identity is used independently; normal agent/TTS turns already receive host context. |
agent-wechat.calls.voice.realtime.consultFastMode | boolean | Set fast mode for the regular OpenClaw consultation run when its model supports it. |
agent-wechat.calls.voice.realtime.consultPolicy | string, values auto|substantive|always, default auto | Guide when the voice model consults. Always can use a final caller utterance as the consultation question when the voice model does not consult. GPT-Live models do not support always. |
agent-wechat.calls.voice.realtime.consultThinkingLevel | string, values off|minimal|low|medium|high|xhigh|adaptive|max|ultra | Thinking level for the regular OpenClaw consultation run. |
agent-wechat.calls.voice.realtime.fastContext | object | On the verified owner’s direct calls, search the agent’s indexed memory and session context before a consultation runs the agent. Matching snippets go straight back to the voice model and the agent does not run; the next consultation in the call runs the agent, so the voice model or the caller can ask again when the snippets do not answer or an action is needed. Other callers and conferences always run the agent. Applies to bidi mode. |
agent-wechat.calls.voice.realtime.fastContext.enabled | boolean, default false | Search memory and session context before the owner’s consultations. |
agent-wechat.calls.voice.realtime.fastContext.fallbackToConsult | boolean, default false | Run the agent when the search finds nothing. When false, the voice model says it does not have that context handy. |
agent-wechat.calls.voice.realtime.fastContext.maxResults | integer, min 1, max 10, default 3 | Most snippets returned to the voice model. |
agent-wechat.calls.voice.realtime.fastContext.sources | array, min items 1, unique items, default [“memory”,“sessions”] | Indexed sources to search. The active memory plugin decides which session transcripts this call’s session may see. |
agent-wechat.calls.voice.realtime.fastContext.timeoutMs | integer, min 100, max 10000, default 800 | How long the search may take before it counts as finding nothing. |
agent-wechat.calls.voice.realtime.instructions | string, max length 4000 | Additional conversation guidance; does not grant tool or account-owner authority. |
agent-wechat.calls.voice.realtime.model | string, min length 1, max length 200 | Speech model, such as gpt-realtime-2.1 or the continuous gpt-live-1-codex; omitted uses the selected provider’s default. |
agent-wechat.calls.voice.realtime.provider | string, min length 1, max length 200 | Use openai. Other providers fail preflight without fallback. |
agent-wechat.calls.voice.realtime.providers | object | |
agent-wechat.calls.voice.realtime.providers.openai | object | |
agent-wechat.calls.voice.realtime.providers.openai.apiKey | - | Optional OpenClaw SecretRef or API-key string. Omitted uses the selected agent’s OpenAI auth profile or Gateway environment. |
agent-wechat.calls.voice.realtime.recentContext | object | |
agent-wechat.calls.voice.realtime.recentContext.enabled | boolean, default false | When a call starts, send the Realtime provider the summaries of the last few calls with this contact and the latest messages of your WeChat chat with them, so the voice model knows what you last talked about. |
agent-wechat.calls.voice.realtime.recentContext.maxMessages | integer, min 1, max 50, default 10 | How many of the latest chat messages to include. |
agent-wechat.calls.voice.realtime.voice | string, min length 1, max length 200 | Spoken voice; omitted uses the selected provider’s default. |
agent-wechat.calls.voice.sessionScope | string, values per-contact|per-call, default per-contact | per-contact keeps one session for each contact, so the agent remembers earlier calls with them; per-call starts every call in a new session. |
agent-wechat.calls.voice.toolPolicy | string, values none|safe-read-only|owner | Owner uses the normal agent tool policy only for an exact agent-wechat entry in commands.ownerAllowFrom matching the connected voice peer. Other admitted peers get read-only consultation. Defaults to safe-read-only with session persistence, otherwise none. |
agent-wechat.calls.voice.transcription | object | |
agent-wechat.calls.voice.transcription.apiKey | - | Optional OpenClaw SecretRef or API-key string for the transcription provider. Omitted uses provider configuration. |
agent-wechat.calls.voice.transcription.language | string, min length 1, max length 200 | |
agent-wechat.calls.voice.transcription.model | string, min length 1, max length 200 | |
agent-wechat.calls.voice.transcription.provider | string, min length 1, max length 200, default openai | Registered realtime transcription provider for agent mode. |
agent-wechat.dmPolicy | string, values open|allowlist|disabled | |
agent-wechat.enabled | boolean | |
agent-wechat.groupAllowFrom | array | |
agent-wechat.groupPolicy | string, values open|allowlist|disabled | |
agent-wechat.groups | object | |
agent-wechat.groups.* | object | |
agent-wechat.groups.*.allowFrom | array | |
agent-wechat.groups.*.enabled | boolean | |
agent-wechat.groups.*.groupPolicy | string, values open|allowlist|disabled | |
agent-wechat.groups.*.requireMention | boolean | |
agent-wechat.mediaMaxMb | integer, min 1, max 1024 | |
agent-wechat.native | object | |
agent-wechat.native.accountId | string, required, min length 1 | |
agent-wechat.native.consumerStateDir | string, required | |
agent-wechat.native.dataDir | string | |
agent-wechat.native.endpoint | string | |
agent-wechat.native.executable | string | |
agent-wechat.native.gatewayFacade | object | |
agent-wechat.native.gatewayFacade.enabled | boolean, required | |
agent-wechat.native.gatewayFacade.prefix | string | |
agent-wechat.native.listen | string | |
agent-wechat.native.mode | string, required, values managed|external | |
agent-wechat.native.readPolicy | string, values never|on_inbound|on_model_dispatch | |
agent-wechat.native.serverConfig | string | |
agent-wechat.native.token | string|object, required | |
agent-wechat.native.token.id | string, required, min length 1 | |
agent-wechat.native.token.provider | string, required, pattern ^[a-z][a-z0-9_-]{0,63}$ | |
agent-wechat.native.token.source | string, required, values env|file|exec|store |