getFunction
Get a registered SWAIG function entry by name. Parity accessor matching Python’s
ToolRegistry.get_function.
Parameters
name
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.