Route OpenClaw chat by HA user

This commit is contained in:
2026-05-06 08:08:18 +02:00
parent 90d525e842
commit 8221098ebc
12 changed files with 285 additions and 68 deletions
@@ -129,17 +129,21 @@
},
"agent_id": {
"name": "Agent ID",
"description": "Optional OpenClaw agent ID to route this message to. Overrides the configured default. Defaults to \"main\"."
"description": "Optional OpenClaw agent ID to route this message to. When omitted, OpenClaw routes by the Home Assistant user who called the service."
}
}
},
"clear_history": {
"name": "Clear History",
"description": "Clear conversation history.",
"description": "Clear scoped conversation history for the current Home Assistant user.",
"fields": {
"session_id": {
"name": "Session ID",
"description": "Session to clear."
"description": "Session to clear. If omitted, clears this user's sessions for the resolved agent."
},
"agent_id": {
"name": "Agent ID",
"description": "Optional OpenClaw agent ID override for the history scope."
}
}
},