Skip to content

Enable write_todo tool and fix output function schema - #12905

Merged
anj-s merged 9 commits into
mainfrom
u/anj/debug-todo-regression
Nov 12, 2025
Merged

anj-s merged 9 commits into
mainfrom
u/anj/debug-todo-regression

Conversation

@anj-s

@anj-s anj-s commented Nov 11, 2025 •

Copy link
Copy Markdown
Contributor

Summary

Enable write_todo tool and fix schema regression.

Details

  • Tool Enablement: The write_todos tool is now enabled by default. This was done by updating the default configuration in
    packages/core/src/config/config.ts and updating the corresponding settings schemas in
    packages/cli/src/config/settingsSchema.ts and schemas/settings.schema.json.
  • Schema Correction: The responseJsonSchema for the write_todos tool has been fixed in packages/core/src/tools/write-todos.ts. The schema now correctly defines the response as an object containing a todos array, where each item is an object with description and status properties.
  • Documentation: The documentation has been updated to reflect that the write_todos tool is now enabled by default.

Related Issues

Fixes #12675

How to Validate

Start gemini-cli and verify that you can use the ToDo tool successfully. Evals show no regression.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker

@github-actions

github-actions Bot commented Nov 11, 2025 •

Copy link
Copy Markdown

Size Change: +967 B (0%)

Total Size: 20.5 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 20.5 MB +967 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@anj-s
anj-s marked this pull request as ready for review November 11, 2025 23:53
@anj-s
anj-s requested a review from a team as a code owner November 11, 2025 23:53
Comment thread packages/core/src/tools/write-todos.ts Resolved
@anj-s
anj-s added this pull request to the merge queue Nov 12, 2025
Merged via the queue into main with commit 7ec7845 Nov 12, 2025
@anj-s
anj-s deleted the u/anj/debug-todo-regression branch November 12, 2025 18:30
@anj-s

anj-s commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

/patch preview

@github-actions

Copy link
Copy Markdown

✅ Patch workflow(s) dispatched successfully!

📋 Details:

  • Channels: preview
  • Commit: 7ec78452ecda6023c59100768ab722f5116d8c54
  • Workflows Created: 1

🔗 Track Progress:

github-actions Bot pushed a commit that referenced this pull request Nov 12, 2025
# Conflicts:
#	schemas/settings.schema.json
@github-actions

Copy link
Copy Markdown

🚀 Patch PR Created!

📋 Patch Details:

📝 Next Steps:

  1. ⚠️ Resolve conflicts in the hotfix PR first: #12962
  2. Test your changes after resolving conflicts
  3. Once merged, the patch release will automatically trigger
  4. You'll receive updates here when the release completes

🔗 Track Progress:

@github-actions

Copy link
Copy Markdown

🚀 Patch Release Started!

📋 Release Details:

  • Environment: prod
  • Channel: preview → publishing to npm tag preview
  • Version: v0.15.0-preview.1
  • Hotfix PR: Merged ✅
  • Release Branch: release/v0.15.0-preview.1-pr-12905

⏳ Status: The patch release is now running. You'll receive another update when it completes.

🔗 Track Progress:

@github-actions

Copy link
Copy Markdown

✅ Patch Release Complete!

📦 Release Details:

🎉 Status: Your patch has been successfully released and published to npm!

📝 What's Available:

🔗 Links:

@sripasg sripasg added the size/m A medium sized PR label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m A medium sized PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

write_todo tool is seeing MALFORMED_FUNCTION_CALL errors

4 participants