Skip to main content

Module cron_tool

Module cron_tool 

Source
Expand description

Cron tool — wraps InfraApi cron methods behind the AgentTool interface.

Provides agents with cron scheduling capabilities. Actions: list, add, remove, trigger.

§Example

{ "action": "list" }
{ "action": "add", "expression": "0 */6 * * *", "task": "Review open PRs" }
{ "action": "remove", "id": "job-uuid" }
{ "action": "trigger", "id": "job-uuid" }

Structs§

CronTool
Agent tool for cron scheduling.