fix(tools): clarify cron message param as agent instruction (#2566)
This commit is contained in:
@@ -74,7 +74,7 @@ class CronTool(Tool):
|
|||||||
"enum": ["add", "list", "remove"],
|
"enum": ["add", "list", "remove"],
|
||||||
"description": "Action to perform",
|
"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": {
|
"every_seconds": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "Interval in seconds (for recurring tasks)",
|
"description": "Interval in seconds (for recurring tasks)",
|
||||||
|
|||||||
Reference in New Issue
Block a user