fix(tools): clarify cron message param as agent instruction (#2566)

This commit is contained in:
04cb 2026-03-31 08:53:39 +08:00 committed by Xubin Ren
parent 8682b017e2
commit 3f21e83af8

View File

@ -74,7 +74,7 @@ class CronTool(Tool):
"enum": ["add", "list", "remove"],
"description": "Action to perform",
},
"message": {"type": "string", "description": "Reminder message (for add)"},
"message": {"type": "string", "description": "Instruction for the agent to execute when the job triggers (e.g., 'Send a reminder to WeChat: xxx' or 'Check system status and report')"},
"every_seconds": {
"type": "integer",
"description": "Interval in seconds (for recurring tasks)",