Documentation Index
Fetch the complete documentation index at: https://docs.cloudshipai.com/llms.txt
Use this file to discover all available pages before exploring further.
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 yourconfig.yaml:
Configuration Options
| Field | Type | Default | Description |
|---|---|---|---|
webhook_url | string | - | Any HTTP POST endpoint (required) |
api_key | string | - | Bearer token for authentication (optional) |
timeout_seconds | int | 10 | Request timeout |
format | string | auto | Webhook format: ntfy, json, or auto |
Formats
| Format | When to Use | Description |
|---|---|---|
ntfy | ntfy.sh or self-hosted ntfy | Sends message in body, metadata in HTTP headers (Title, Priority, Tags) |
json | Slack, Discord, custom APIs | Sends full JSON payload with all fields |
auto | Default | Auto-detects ntfy URLs (ntfy.sh or /ntfy), falls back to JSON for others |
Environment Variables
For containerized deployments, use environment variables:Enabling for Agents
Via Frontmatter (.prompt file)
Addnotify: true to your agent’s frontmatter:
Via MCP Tools
Enable notify when creating an agent:create_agent tool accepts a notify parameter:
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:| Parameter | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Notification content |
title | string | No | Subject line |
priority | string | No | min, low, default, high, urgent |
tags | array | No | Emoji tags (e.g., ["warning", "robot"]) |
Webhook Formats
ntfy Format
Whenformat: ntfy, notifications are sent with headers:
JSON Format
Whenformat: 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:| Attribute | Description |
|---|---|
notify.success | Whether notification was sent |
notify.message_id | ID returned by webhook (if available) |
notify.message_length | Length of message |
notify.priority | Priority level used |
Troubleshooting
Notification Not Sent
- Check
webhook_urlis accessible - Verify
api_keyif endpoint requires authentication - Check Station logs for error messages
Wrong Format
If self-hosted ntfy isn’t detected, explicitly setformat: ntfy:
Testing
Test your webhook directly:Notifications vs Webhooks
| Feature | Notify (this page) | Webhooks |
|---|---|---|
| Direction | Station → External | External → Station |
| Purpose | Send alerts/notifications | Trigger agent execution |
| Use case | Agent alerts user | PagerDuty triggers agent |
| Configuration | notify: in config.yaml | STN_WEBHOOK_API_KEY |
Next Steps
- Webhooks - Trigger agents from external systems
- Scheduling - Cron-based execution
- Observability - Monitor notifications

