Documentation
¶
Overview ¶
Package validation provides shared input validation helpers for CHIP tools. Helpers return Go errors that the MCP SDK wraps as tool execution errors (isError: true), letting the calling model see the problem and self-correct.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UUID ¶
UUID verifies value is a well-formed UUID. fieldName is surfaced in the returned error so the calling model can identify which field failed.
func UUIDOptional ¶
UUIDOptional verifies value is a well-formed UUID when non-empty. Empty strings pass. Use for optional UUID fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.