code cleanup. gismeteo prompt injection
This commit is contained in:
@@ -18,7 +18,7 @@ export const listToolsTool: ToolDef = {
|
||||
...tool,
|
||||
config: {
|
||||
...tool.config,
|
||||
inputSchema: zodToJsonSchema(z.object(tool.config.inputSchema), { target: "jsonSchema7" }),
|
||||
inputSchema: zodToJsonSchema(z.object(tool.config.inputSchema ?? {}), { target: "jsonSchema7" }),
|
||||
}
|
||||
})),
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user