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.
Release files for exoclaw-tools-message 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exoclaw_tools_message-0.3.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exoclaw_tools_message-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / exoclaw_tools_message-0.3.0.tar.gz
| Download URL | exoclaw_tools_message-0.3.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2770a1c8fd4efae21ab5b89b82b0839fca31074f7f1b9547604418f1c6c20c4b
|
|
BLAKE2b-256 checksum How to use checksums |
1e9edafdd5c1aa3676ad8e34da776fafbb1b57fa986ccfd71cc708d1844586a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / exoclaw_tools_message-0.3.0-py3-none-any.whl
| Download URL | exoclaw_tools_message-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
734b1074e45c4cedd1ffc37164e2f00d948a0d6d1da96d5c3f5f497e82510728
|
|
BLAKE2b-256 checksum How to use checksums |
ea32adce832eb5bb8ae0b23714f95937a34b04478bb304a9d278107c563b337a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|