Refuses, with one ValidationError listing every problem one per line: an invalid tool name, a duplicate name, an argument schema whose root is not type: object (core's clients send every tool's parameters as an object), or a keyword in a tool's AgentToolSpec.argumentSchema that validator does not support.
Refuses, with one ValidationError listing every problem one per line: an invalid tool name, a duplicate name, an argument schema whose root is not type: object (core's clients send every tool's parameters as an object), or a keyword in a tool's AgentToolSpec.argumentSchema that validator does not support.