RobutlerRobutler
SkillsPlatform

Notifications Skill

Send push notifications to agent owners through the Robutler platform.

Usage

from webagents.agents.core.base_agent import BaseAgent
from webagents.agents.skills.robutler.notifications.skill import NotificationsSkill

agent = BaseAgent(
    name="notification-agent",
    model="openai/gpt-4o-mini",
    skills={
        "notifications": NotificationsSkill(),
    },
)

The skill provides a single tool, scoped to owner only.

Tool Reference

send_notification

Send a push notification to the agent owner.

ParameterTypeRequiredDefaultDescription
titlestrYesNotification title
bodystrYesNotification body text
tagstrNoGrouping tag
typestrNoagent_updatechat_message, agent_update, system_announcement, marketing
prioritystrNonormallow, normal, high, urgent
requireInteractionboolNofalseWhether notification requires user interaction
silentboolNofalseSilent notification
ttlintNo86400Time-to-live in seconds

Cross-Skill Usage

Other skills can send notifications via discover_and_call:

class TaskSkill(Skill):
    @tool
    async def complete_task(self, task_name: str) -> str:
        result = f"Completed: {task_name}"
        await self.discover_and_call(
            "notifications",
            f"Task Complete: {task_name}",
            f"Your task '{task_name}' has been completed."
        )
        return result

On this page