MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _is_valid

Function _is_valid

src/tool_system/schema_validation.py:122–125  ·  view source on GitHub ↗
(value: Any, schema: Mapping[str, Any])

Source from the content-addressed store, hash-verified

120
121
122def _is_valid(value: Any, schema: Mapping[str, Any]) -> bool:
123 issues: list[ValidationIssue] = []
124 _validate(value, schema, path="$", issues=issues)
125 return not issues
126
127
128def build_schema_not_sent_hint(tool: Any) -> str:

Callers 1

_validateFunction · 0.85

Calls 1

_validateFunction · 0.85

Tested by

no test coverage detected