You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/builtin/builtin.go
+23-3
Original file line number
Diff line number
Diff line change
@@ -85,9 +85,16 @@ var tools = map[string]types.Tool{
85
85
Description: "Downloads a URL, saving the contents to disk at a given location",
86
86
Arguments: types.ObjectSchema(
87
87
"url", "The URL to download, either http or https.",
88
-
"location", "(optional) The on disk location to store the file. If no location is specified a temp location will be used. If the target file already exists it will not be overwritten and will fail."),
88
+
"location", "(optional) The on disk location to store the file. If no location is specified a temp location will be used. If the target file already exists it will fail unless override is set to true.",
89
+
"override", "If true and a file at the location exists, the file will be overwritten, otherwise fail. Default is false"),
0 commit comments