@opscogs/octools
    Preparing search index...

    Variable NAME_REConst

    NAME_RE: RegExp = ...

    Tool names: lowercase snake_case, at most 48 characters.

    The 48 count the provider's namespace (demo_get_rows). The tightest common tool-name limit is 64 characters; the 16 spare leave room for the prefix an agent host adds when it routes to a server.

    In Python, $ also matches just before a final newline, so the Python pattern accepts a name ending in \n; this RegExp's $ does not.