Message sending tool for exoclaw
Project description
exoclaw-tools-message
Message sending tool implementing the exoclaw ToolBase protocol — lets the agent deliver messages to users on any channel the bus supports.
Install
pip install exoclaw-tools-message
Usage
from exoclaw_tools_message.tool import MessageTool
message_tool = MessageTool(
send_callback=bus.publish_outbound,
default_channel="cli",
default_chat_id="direct",
suppress_patterns=[r"^HEARTBEAT_OK$"], # optional: filter unwanted lines
)
# Update context per turn so the tool knows where to deliver replies
message_tool.set_context(channel="cli", chat_id="direct")
MessageTool is the mechanism by which the agent sends outbound replies. It tracks whether a message was sent in the current turn and supports per-message media attachments.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exoclaw_tools_message-0.3.0.tar.gz.
File metadata
- Download URL: exoclaw_tools_message-0.3.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2770a1c8fd4efae21ab5b89b82b0839fca31074f7f1b9547604418f1c6c20c4b
|
|
| MD5 |
084813926c02fcd25195ff052f8905eb
|
|
| BLAKE2b-256 |
1e9edafdd5c1aa3676ad8e34da776fafbb1b57fa986ccfd71cc708d1844586a9
|
File details
Details for the file exoclaw_tools_message-0.3.0-py3-none-any.whl.
File metadata
- Download URL: exoclaw_tools_message-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734b1074e45c4cedd1ffc37164e2f00d948a0d6d1da96d5c3f5f497e82510728
|
|
| MD5 |
e0c082a178dcb033d0339d1ab9703434
|
|
| BLAKE2b-256 |
ea32adce832eb5bb8ae0b23714f95937a34b04478bb304a9d278107c563b337a
|