Skip to content

feat: Give agent ability to update scheduled tasks#1105

Open
joelmeaders wants to merge 3 commits intoagent0ai:developmentfrom
joelmeaders:schedulerprompt-add-update-tool
Open

feat: Give agent ability to update scheduled tasks#1105
joelmeaders wants to merge 3 commits intoagent0ai:developmentfrom
joelmeaders:schedulerprompt-add-update-tool

Conversation

@joelmeaders
Copy link
Copy Markdown

@joelmeaders joelmeaders commented Feb 22, 2026

Summary

Adds information about how to use the scheduler:update_task tool to the scheduler system prompt and adds the update tool to scheduler tools.

Fixes

Fixes an issue where Agent Zero states it cannot update or disable tasks.

Testing

No automated tests. In manual testing the agent was able to update scheduled tasks, which included specific times.

Copilot AI review requested due to automatic review settings February 22, 2026 17:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation for the scheduler:update_task tool to the scheduler system prompt. The documentation describes how to update existing task configurations, including changing task state (enable/disable), modifying prompts, updating schedules for scheduled tasks, tokens for adhoc tasks, and plans for planned tasks.

Changes:

  • Added complete documentation for the scheduler:update_task tool, including argument descriptions and usage example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread prompts/agent.system.tool.scheduler.md
Comment thread prompts/agent.system.tool.scheduler.md Outdated
@joelmeaders joelmeaders marked this pull request as draft February 22, 2026 19:31
@joelmeaders joelmeaders marked this pull request as ready for review February 22, 2026 20:45
@joelmeaders joelmeaders changed the title fix: Add missing scheduler:update_task tool instructions to scheduler prompt feat: Give agent ability to update scheduled tasks Feb 22, 2026
Nafania added a commit to Nafania/agent-zero that referenced this pull request Mar 31, 2026
- #3: duplicate response loop breaker (breaks after 3 identical responses)
- #4: dynamic output truncation threshold based on context window size
- #2: resolve §§secret() / $$secret() placeholders in MCP server env/args/url/headers
- #19: scheduler update_task tool method + prompt documentation

Already applied (verified, skipping): #22 parallel MCP init, agent0ai#62 context window optimization

Upstream: PR agent0ai#1265, PR agent0ai#857, PR agent0ai#1150, PR agent0ai#1105
Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants