Notifications Toolset¶
Send notifications through various channels like email, Slack, or webhooks.
Basic Usage¶
yaml
agents:
notifier:
tools:
- type: notifications
email:
smtp_host: smtp.gmail.com
smtp_port: 587
username: ${EMAIL_USER}
password: ${EMAIL_PASS}
Available Tools¶
None
Execution Error: TypeError
NotificationsTools.init() missing 1 required positional argument: 'channels'
from agentpool_toolsets.notifications import NotificationsTools
from agentpool.docs.utils import generate_tool_docs
toolset = NotificationsTools()
print(generate_tool_docs(toolset))
Traceback (most recent call last):
File "/home/runner/work/agentpool/agentpool/.venv/lib/python3.13/site-packages/mknodes/mdext/execute_ext.py", line 226, in formatter
output = _run_python(source, session=session)
File "/home/runner/work/agentpool/agentpool/.venv/lib/python3.13/site-packages/mknodes/mdext/execute_ext.py", line 104, in _run_python
exec(compiled, exec_globals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "<exec>", line 4, in <module>
TypeError: NotificationsTools.__init__() missing 1 required positional argument: 'channels'
Supported Channels¶
- Email (SMTP)
- Slack
- Webhooks
- Desktop notifications