IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python function

get_parser_cls

get_parser_cls()​

max.pipelines.lib.tool_parsing.get_parser_cls(name)

source

Look up a registered parser class by name without instantiating it.

Returns None if no parser is registered under that name, or if name is None. Useful for callers that need to read class-level attributes (such as structural tag delimiters).

Parameters:

name (str | None)

Return type:

type[ToolParser] | None