Fix parameter name mismatch in read_multi_modal tool schema (issue 163)

Change the required parameter name from 'filePath' to 'path' in the
read_multi_modal tool's JSON schema to match the property definition
and the ReadFileToolParams struct field name.
This commit is contained in:
2026-06-15 22:20:13 +00:00
parent 2824b89643
commit 8ddee0f621
+1 -1
View File
@@ -19,7 +19,7 @@ Tool make_read_multi_modal() {
{"description", "Absolute or relative path to multi modal file to read"}
}},
}},
{"required", {"filePath"}}
{"required", {"path"}}
},
.execute = create_tool_execute<ReadFileToolParams>([](const ReadFileToolParams& params) -> Content {
std::vector<ContentPart> ret{};