assertCanonicalName
assertCanonicalName(
name):void
Defined in: packages/gateway/src/names.ts:22
Throws a GatewayError with code invalid_tool_name unless name meets the canonical rule, 1 to 64 characters
from A-Z, a-z, 0-9, _ and -. Namespaced names such as mcp__<server>__<tool> follow the same rule.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
These docs are licensedCC BY 4.0. Thelicence text is in the repository.