Update tool prompt

This commit is contained in:
Saoud Rizwan 2024-08-22 02:55:55 -04:00
parent 5c5005d9a2
commit 585d15bdee
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"name": "claude-dev",
"displayName": "Claude Dev",
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
"version": "1.3.4",
"version": "1.3.41",
"icon": "icon.png",
"engines": {
"vscode": "^1.84.0"

View File

@ -166,7 +166,7 @@ const tools: Tool[] = [
{
name: "write_to_file",
description:
"Write content to a file at the specified path. If the file exists, it will be completely overwritten with the provided content (so do NOT omit unmodified sections). If the file doesn't exist, it will be created. This tool will automatically create any directories needed to write the file.",
"Write content to a file at the specified path. If the file exists, it will be overwritten with the provided content. If the file doesn't exist, it will be created. Always provide the full intended content of the file, without any truncation. This tool will automatically create any directories needed to write the file.",
input_schema: {
type: "object",
properties: {
@ -176,8 +176,7 @@ const tools: Tool[] = [
},
content: {
type: "string",
description:
"The full content to write to the file. Must be the full intended content of the file, without any omission or truncation.",
description: "The full content to write to the file.",
},
},
required: ["path", "content"],