Skip to content

API Reference parrot_tools.notification

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.notification

View source

NotificationTool - Send notifications via email, Telegram, Slack, or MS Teams.

A unified tool for LLM agents to send notifications through various channels using the async-notify library.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Class FileType

File types for smart handling.

Class NotificationInput

Input schema for notification tool.

Fields:

Field Type Default Description
message str The message content to send
type str Notification type: 'email', 'slack', 'telegram', or 'teams'
recipients str Recipients for the notification. Format depends on type: email: 'user@example.com' or comma-separated list; telegram: chat_id (e.g., '123456789'); slack: channel_id (e.g., 'C123456') or #channel-name; teams: user email or channel ID
subject Optional[str] Subject line (mainly for email notifications)
files Optional[str] Comma-separated list of file paths to attach
disable_notification bool Disable notification sound (Telegram only)

Class NotificationTool

Unified notification tool for sending messages through multiple channels.

Supports:

  • Email: Send emails with attachments
  • Telegram: Smart file handling (images as photos, docs as documents)
  • Slack: Channel messages
  • MS Teams: Team messages with file references
Parameter Type Default Description
teams_config Optional[Dict[str, str]] None Optional Teams configuration with keys: - tenant_id - client_id - client_secret - username - password

Class NotificationType

Supported notification types.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally