Skip to content

Your lightweight open-source personal agent.

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

lucario5f2157baeb1d
diff --git a/nanobot/agent/tools/cron.py b/nanobot/agent/tools/cron.py
index a78ab89b4..850ecdc49 100644
--- a/nanobot/agent/tools/cron.py
+++ b/nanobot/agent/tools/cron.py
@@ -97,12 +97,12 @@ class CronTool(Tool):
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": {
"type": "boolean",
"description": "Whether to deliver the execution result to the user channel (default true)",
"default": True
},
+ "job_id": {"type": "string", "description": "Job ID (for remove)"},
},
"required": ["action"],
}