Files
Tetra-AI-HA-Integration/custom_components/openclaw/services.yaml
T

88 lines
2.2 KiB
YAML

send_message:
name: Send Message
description: Send a text message to OpenClaw and get a response.
fields:
message:
name: Message
description: The message text to send to OpenClaw.
required: true
example: "What's the weather like today?"
selector:
text:
multiline: true
session_id:
name: Session ID
description: Optional conversation session ID. Messages with the same session ID share context.
required: false
example: "my-automation-session"
selector:
text:
attachments:
name: Attachments
description: Optional list of file paths to attach to the message.
required: false
selector:
text:
multiline: true
clear_history:
name: Clear History
description: Clear the conversation history for a session.
fields:
session_id:
name: Session ID
description: Session ID to clear. If omitted, clears the default session.
required: false
selector:
text:
invoke_tool:
name: Invoke Tool
description: Invoke a single OpenClaw Gateway tool via /tools/invoke.
fields:
tool:
name: Tool
description: Tool name to invoke.
required: true
example: "sessions_list"
selector:
text:
action:
name: Action
description: Optional action string passed to the tool endpoint.
required: false
example: "json"
selector:
text:
args:
name: Args
description: Tool-specific args object.
required: false
selector:
object:
session_key:
name: Session Key
description: Optional target OpenClaw session key.
required: false
example: "main"
selector:
text:
dry_run:
name: Dry Run
description: Optional dry-run flag (reserved by gateway).
required: false
selector:
boolean:
message_channel:
name: Message Channel
description: Optional channel hint header (e.g. slack, telegram).
required: false
selector:
text:
account_id:
name: Account ID
description: Optional account hint header for multi-account routing.
required: false
selector:
text: