setValidation
Toggle verb schema validation at runtime. When validation is enabled (the
default), addVerb() validates each verb’s config against the
schema and throws if it fails. Disable validation for performance-sensitive
call paths or when constructing verbs with custom schemas not known to the
built-in schema utilities.
Matches the Python schema_validation constructor parameter on
AgentBase. For SWML service validation at construct time, pass
schemaValidation: false to the SwmlBuilder constructor via
SwmlBuilderOptions.
Parameters
enabled
true to enable schema validation on subsequent addVerb() calls, false
to disable.
Returns
void