Skip to main content

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

exoclaw_tools_message-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoclaw_tools_message-0.1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file exoclaw_tools_message-0.1.1.tar.gz.

File metadata

  • Download URL: exoclaw_tools_message-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for exoclaw_tools_message-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2b9b5733fe5d0dee28917c06e1e00d2783f2455fbeb89280636cae7d23af9da1
MD5 aadb9fe6300ca03e65890d4a5f1fd078
BLAKE2b-256 9e602c479de03546e9594515689414f5a78500f7a2c9be34b2bcc07ff48e2257

See more details on using hashes here.

File details

Details for the file exoclaw_tools_message-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: exoclaw_tools_message-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for exoclaw_tools_message-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a342160a82c9d1a43cf31fcc096d9c8e517cf66d8337b5ebd22d216ff28b9053
MD5 86601bff8716771b6ecadedeaa6da3ef
BLAKE2b-256 e53850a2ea901fc8180d4ab74af0845b6d5a0293e7665a7499a21a8da947117a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page