Skip to content

Commit 9c38dd4

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)