summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-01 12:16:17 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-01 12:16:17 +0300
commitf6a395bce9343a9224b2c43b231a749108acad1e (patch)
tree501f9913fbc253dfdf9192facf8fdcc1c08826a4 /tools.go
parentdc34c63256c0bfc6b11625e91e7a981968160929 (diff)
Fix: todo_update
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go19
1 files changed, 16 insertions, 3 deletions
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)",
+ },
+ },
},
},
},