> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/function/function.caller_functions.md).

# Function.caller\_functions()

Returns a Functions object that represents functions that call the function.

`caller_functions() →` [`Functions`](/glider-ide/api/functions.md)

The caller functions are the functions that directly call the specified function.

## Example

```python
from glider import *

def query():
  # Retrieve a function with name _afterTokenTransfer
  functions = Functions().with_name('_afterTokenTransfer').exec(1)

  # Return its caller functions
  return functions[0].caller_functions().exec()
```

## Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FwKNCB1b9Wg9RNjLpzGvq%2Fimage.png?alt=media&amp;token=ac13aa5a-88e2-4c14-bfea-62f871a4a349" alt=""><figcaption></figcaption></figure>
