fix(tools): ensure file_path alias passes validation in read/write tools (#7451)

Co-authored-by: lotusfall <lotusfall@outlook.com>
main
bqcfjwhz85-arch 2026-02-03 05:33:36 +08:00 committed by GitHub
parent 5fb8f779ca
commit 966228a6a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ export function patchToolSchemaForClaudeCompatibility(tool: AnyAgentTool): AnyAg
parameters: {
...schema,
properties,
...(required.length > 0 ? { required } : {}),
required,
},
};
}