Toolsaction
Set Beat
Agenda um lembrete ou um "beat" em segundo plano com uma expressão cron de 5 campos.
nome da ferramenta: set_beat
Salva um lembrete (um aviso agendado para o usuário) ou um scheduled_beat (uma execução automática do agente em segundo plano) com uma expressão cron padrão de 5 campos.
O comportamento padrão é um beat único — todos os campos ficam fixos; curingas só são usados quando você pedir explicitamente um padrão recorrente ("todo dia", "toda segunda").
Não fica disponível para o próprio sub-agente de heartbeat, então um beat não pode agendar outros beats recursivamente.
Parâmetros
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| beat | string | sim | What the user wants to be reminded about, or the beat to schedule. |
| type | stringreminder, scheduled_beat | — | Defaults to "reminder". "scheduled_beat" runs the agent in the background. |
| cron_expression | string | sim | 5-field cron: "minute hour day-of-month month day-of-week". |
| channel | stringtelegram, whatsapp | — | Channel to use instead of the current chat, if this beat should notify a different chat. Must be provided together with target. |
| target | string | — | Recipient address (Telegram chat id or WhatsApp JID) to use instead of the current chat. Must be provided together with channel. |