From f6a395bce9343a9224b2c43b231a749108acad1e Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sun, 1 Mar 2026 12:16:17 +0300 Subject: Fix: todo_update --- tools.go | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'tools.go') diff --git a/tools.go b/tools.go index e6b6596..b1e5bbd 100644 --- a/tools.go +++ b/tools.go @@ -1546,9 +1546,22 @@ var baseTools = []models.Tool{ Name: "todo_update", Description: "Update a todo item by ID with new task or status. Status must be one of: pending, in_progress, completed.", Parameters: models.ToolFuncParams{ - Type: "object", - Required: []string{}, - Properties: map[string]models.ToolArgProps{}, + Type: "object", + Required: []string{"id"}, + Properties: map[string]models.ToolArgProps{ + "id": models.ToolArgProps{ + Type: "string", + Description: "id of the todo item to update", + }, + "task": models.ToolArgProps{ + Type: "string", + Description: "new task description (optional)", + }, + "status": models.ToolArgProps{ + Type: "string", + Description: "new status: pending, in_progress, or completed (optional)", + }, + }, }, }, }, -- cgit v1.2.3