> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# getFunction

> Get a registered SWAIG function entry by name.

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

## **Parameters**

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.