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

Co-authored-by: lotusfall <lotusfall@outlook.com>
This commit is contained in:
bqcfjwhz85-arch
2026-02-03 05:33:36 +08:00
committed by GitHub
parent 5fb8f779ca
commit 966228a6a9

View File

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