feat(tools): require reason argument for delete and git_operator tools
This commit is contained in:
@@ -28,9 +28,13 @@ impl Tool for Delete {
|
||||
"path": {
|
||||
"type": "string",
|
||||
"description": "Path to the file or directory to delete (relative to workspace root)"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string",
|
||||
"description": "Reason for the deletion (must be non-empty, >= 8 chars)"
|
||||
}
|
||||
},
|
||||
"required": ["path"]
|
||||
"required": ["path", "reason"]
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user