schedule_task改名schedule:工具名即资源,动词已在op;definitions/HANDLERS与scheduler/db/routes/前端注释/ARCHITECTURE同步(表名scheduled_tasks与路由/id/schedule不动)

This commit is contained in:
2026-09-23 08:30:25 +08:00
parent 3555d29465
commit 121de49df7
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -102,7 +102,7 @@
{
"type": "function",
"function": {
"name": "schedule_task",
"name": "schedule",
"description": "Manage the recurring scheduled task bound to the CURRENT session. At most one task per session; it is deleted together with the session. At each trigger, the prompt is sent to this session as a new user message. Schedule times are interpreted in Asia/Shanghai (UTC+8). Call this ONLY when the user explicitly asks for something to run periodically or at a specific time.\n\nop=get No arguments.\nop=create Requires cron_expr and prompt.\nop=update Requires at least one of cron_expr, prompt; only the given fields change.\nop=delete No arguments.",
"parameters": {
"type": "object",