AI_InvalidToolInputError: Invalid input for tool todowrite w/Gemini 2.5 Flash Lite Preview 06-17 #942

Closed
opened 2026-02-16 17:28:51 -05:00 by yindo · 1 comment
Owner

Originally created by @esafak on GitHub (Jul 27, 2025).

Originally assigned to: @thdxr on GitHub.

AI_InvalidToolInputError: Invalid input for tool todowrite: Type validation failed:
Value: {"todos":[{"priority":"high","status":"completed","content":"Draft
.github/dependabot.yml with weekly updates for github-
actions","id":"1"},{"priority":"medium","content":"Review existing workflow file for
compatibility","status":"completed","id":"2"},{"content":"Validate dependabot.yml
syntax","id":"3","status":"failed","priority":"low"}]}.
Error message: [
  {
    "received": "failed",
    "code": "invalid_enum_value",
    "options": [
      "pending",
      "in_progress",
      "completed",
      "cancelled"
    ],
    "path": [
      "todos",
      2,
      "status"
    ],
    "message": "Invalid enum value. Expected 'pending' | 'in_progress' | 'completed' |
'cancelled', received 'failed'"
  }
]
Originally created by @esafak on GitHub (Jul 27, 2025). Originally assigned to: @thdxr on GitHub. ``` AI_InvalidToolInputError: Invalid input for tool todowrite: Type validation failed: Value: {"todos":[{"priority":"high","status":"completed","content":"Draft .github/dependabot.yml with weekly updates for github- actions","id":"1"},{"priority":"medium","content":"Review existing workflow file for compatibility","status":"completed","id":"2"},{"content":"Validate dependabot.yml syntax","id":"3","status":"failed","priority":"low"}]}. Error message: [ { "received": "failed", "code": "invalid_enum_value", "options": [ "pending", "in_progress", "completed", "cancelled" ], "path": [ "todos", 2, "status" ], "message": "Invalid enum value. Expected 'pending' | 'in_progress' | 'completed' | 'cancelled', received 'failed'" } ] ```
yindo closed this issue 2026-02-16 17:28:51 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 4, 2025):

we removed todo tool for gemini

@thdxr commented on GitHub (Aug 4, 2025): we removed todo tool for gemini
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#942