fix(mcp): add required to tool call parameters
This commit is contained in:
parent
32749d65a4
commit
026f88d1b3
@ -234,7 +234,8 @@ export default class OpenAIProvider extends BaseProvider {
|
|||||||
description: tool.description,
|
description: tool.description,
|
||||||
parameters: {
|
parameters: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: tool.inputSchema.properties
|
properties: tool.inputSchema.properties,
|
||||||
|
required: tool.inputSchema.required
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user