diff --git a/packages/opencode/src/tool/write.ts b/packages/opencode/src/tool/write.ts index c2be73ab1cdb..d74648ca70bc 100644 --- a/packages/opencode/src/tool/write.ts +++ b/packages/opencode/src/tool/write.ts @@ -18,10 +18,10 @@ import * as Bom from "@/util/bom" const MAX_PROJECT_DIAGNOSTICS_FILES = 5 export const Parameters = Schema.Struct({ - content: Schema.String.annotate({ description: "The content to write to the file" }), filePath: Schema.String.annotate({ description: "The absolute path to the file to write (must be absolute, not relative)", }), + content: Schema.String.annotate({ description: "The content to write to the file" }), }) export const WriteTool = Tool.define(