Skip to content

v1.8.17 — closed-value tool parameters reach the MCP schema

Choose a tag to compare

@zw008 zw008 released this 30 Aug 15:52
· 13 commits to main since this release

drs_behavior (cluster_create, cluster_configure), rule_type (create_drs_rule) and binding (create_dvs_portgroup) were typed str, with their valid values named only in prose. An MCP client sees the schema, not the prose, so a model had to guess the spelling.

They are now Literal[...], and a regression test pins each enum against the set the ops layer actually validates against (_VALID_DRS_BEHAVIORS, _CREATABLE_RULE_TYPES, _VALID_BINDINGS), so the two cannot drift apart.