mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-19 20:23:19 +08:00
defineTool rejected netx tools whose parameters carry standard JSON
Schema constraints ("parameters.page.minimum is not supported by the
value schema DSL"), and the old pass-through dropped the top-level
required list.
- mcp-schema.ts: fold minimum/maxItems/pattern/... into the description,
mark required per property, map anyOf/oneOf/type arrays (minus null)
to oneOf, default additionalProperties to true.
- Test compiles all 39 real /mcp tool schemas through defineTool.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| agent-tools-biz-monitor.js | ||
| agent-tools-common.js | ||
| agent-tools-nms.js | ||
| agent-tools-ops.js | ||
| agent-tools-topology.js | ||
| agent-tools.js | ||
| client.js | ||
| index.js | ||