99 lines
2.0 KiB
JSON
99 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://docs.openclaw.ai/schemas/openclaw-config.json",
|
|
|
|
"gateway": {
|
|
"mode": "local",
|
|
"bind": "loopback",
|
|
"port": 18789,
|
|
"auth": {
|
|
"mode": "token",
|
|
"token": "CHANGE-THIS-TO-A-LONG-RANDOM-STRING"
|
|
}
|
|
},
|
|
|
|
"session": {
|
|
"dmScope": "per-channel-peer"
|
|
},
|
|
|
|
"agents": {
|
|
"defaults": {
|
|
"sandbox": {
|
|
"mode": "all",
|
|
"scope": "agent",
|
|
"workspaceAccess": "none"
|
|
}
|
|
},
|
|
"list": [
|
|
{
|
|
"id": "kids-agent",
|
|
"name": "Kids Assistant",
|
|
"workspace": "/workspace-kids",
|
|
"model": "kimi-coding/k2p5",
|
|
"thinking": "low",
|
|
"systemPrompt": "You are a friendly, patient AI assistant for a child. Be encouraging, educational, and safe. Never help with anything dangerous or inappropriate. If asked about harmful topics, gently redirect. Keep answers age-appropriate and positive.",
|
|
"tools": {
|
|
"allow": [
|
|
"read",
|
|
"web_search",
|
|
"memory_search",
|
|
"memory_get",
|
|
"sessions_list",
|
|
"sessions_history",
|
|
"session_status"
|
|
],
|
|
"deny": [
|
|
"write",
|
|
"edit",
|
|
"apply_patch",
|
|
"exec",
|
|
"process",
|
|
"browser",
|
|
"canvas",
|
|
"nodes",
|
|
"cron",
|
|
"gateway",
|
|
"sessions_spawn",
|
|
"sessions_send",
|
|
"subagents",
|
|
"agents_list",
|
|
"image",
|
|
"web_fetch",
|
|
"tts"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"tools": {
|
|
"profile": "messaging",
|
|
"fs": {
|
|
"workspaceOnly": true
|
|
}
|
|
},
|
|
|
|
"channels": {
|
|
"whatsapp": {
|
|
"dmPolicy": "pairing",
|
|
"groups": {
|
|
"*": {
|
|
"requireMention": true
|
|
}
|
|
}
|
|
},
|
|
"telegram": {
|
|
"dmPolicy": "pairing",
|
|
"groups": {
|
|
"*": {
|
|
"requireMention": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"logging": {
|
|
"level": "info",
|
|
"redactSensitive": "tools"
|
|
}
|
|
}
|