fix(cron): move deliver param before job_id in parameters schema

This commit is contained in:
lucario 2026-04-02 00:05:53 +08:00 committed by Xubin Ren
parent 2e3cb5b20e
commit 5f2157baeb

View File

@ -97,12 +97,12 @@ class CronTool(Tool):
f"(e.g. '2026-02-12T10:30:00'). Naive values default to {self._default_timezone}." f"(e.g. '2026-02-12T10:30:00'). Naive values default to {self._default_timezone}."
), ),
}, },
"job_id": {"type": "string", "description": "Job ID (for remove)"},
"deliver": { "deliver": {
"type": "boolean", "type": "boolean",
"description": "Whether to deliver the execution result to the user channel (default true)", "description": "Whether to deliver the execution result to the user channel (default true)",
"default": True "default": True
}, },
"job_id": {"type": "string", "description": "Job ID (for remove)"},
}, },
"required": ["action"], "required": ["action"],
} }