fix(tools): ensure file_path alias passes validation in read/write tools (#7451)
Co-authored-by: lotusfall <lotusfall@outlook.com>main
parent
5fb8f779ca
commit
966228a6a9
|
|
@ -194,7 +194,7 @@ export function patchToolSchemaForClaudeCompatibility(tool: AnyAgentTool): AnyAg
|
||||||
parameters: {
|
parameters: {
|
||||||
...schema,
|
...schema,
|
||||||
properties,
|
properties,
|
||||||
...(required.length > 0 ? { required } : {}),
|
required,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue