Skip to content

Commit a832a77

Browse files
misumisumimisumisumi
authored andcommitted
fix(codecompanion): add additionalProperties to tool_input of use_mcp_tool (ravitemer#264)
Co-authored-by: misumisumi <s.kobayashi@misumi-sumi.com>
1 parent e2ab082 commit a832a77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/mcphub/extensions/codecompanion/tools.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ local tool_schemas = {
113113
tool_input = {
114114
description = "Input object for the tool call",
115115
type = "object",
116+
additionalProperties = false,
116117
},
117118
},
118119
required = { "server_name", "tool_name", "tool_input" },

0 commit comments

Comments
 (0)