Skip to main content

Overview

The notify tool allows agents to send outbound notifications via webhooks. Use it to alert users about task completion, errors, or important updates.
Looking for inbound triggers? To trigger agents FROM external systems (like PagerDuty or GitHub Actions), see Event-Triggered Execution.
The notify tool is a native Station capability - no MCP server required. Configure it once, and any agent can send notifications.

Configuration

Station can send notifications to any HTTP POST endpoint - ntfy.sh, Slack, Discord, custom webhooks, or any service that accepts POST requests. Add the notify configuration to your config.yaml:

Configuration Options

Formats

Use format: json to send to any webhook that accepts POST requests with JSON body.

Environment Variables

For containerized deployments, use environment variables:

Enabling for Agents

Via Frontmatter (.prompt file)

Add notify: true to your agent’s frontmatter:

Via MCP Tools

Enable notify when creating an agent:
The create_agent tool accepts a notify parameter:
Enable/disable on existing agents with update_agent:
The notify tool only appears for agents with notify: true AND a configured notify.webhook_url in Station config.

Tool Parameters

When called, the notify tool accepts:

Webhook Formats

ntfy Format

When format: ntfy, notifications are sent with headers:

JSON Format

When format: json, notifications are sent as JSON:

Examples

ntfy.sh (Official)

Self-Hosted ntfy

Generic Webhook (Slack, Discord, Custom)

Auto-Detection

Agent Examples

Alert Agent

Monitoring Agent

Tracing

Notify tool calls are traced with OpenTelemetry:

Troubleshooting

Notification Not Sent

  1. Check webhook_url is accessible
  2. Verify api_key if endpoint requires authentication
  3. Check Station logs for error messages

Wrong Format

If self-hosted ntfy isn’t detected, explicitly set format: ntfy:

Testing

Test your webhook directly:

Notifications vs Webhooks

See Event-Triggered Execution for inbound triggers.

Next Steps