getFunction

View as MarkdownOpen in Claude

Get a registered SWAIG function entry by name. Parity accessor matching Python’s ToolRegistry.get_function.

Parameters

name
stringRequired

The function name to look up.

Returns

SwaigFunction | Record<string, unknown> | undefined — The registered entry (a SwaigFunction instance or a raw descriptor), or undefined if not found.