> 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/callable/callable.calls_instructions.md).

# Callable.calls\_instructions()

Returns an Instructions object for the call instructions of the function/modifier.

`calls_instructions() →` [`Instructions`](/glider-ide/api/instructions.md)

The function returns [Instructions](/glider-ide/api/instructions.md) object for all instructions that have any type of call inside it, whether it is an external, internal, library or other type of call.

## Example

```python
from glider import *
def query():
  functions = Functions().exec(100)

  calls_instructions = []
  for function in functions:
    # List all call instructions in the given functions
    for instruction in function.calls_instructions().exec():
      calls_instructions.append(instruction)

  return calls_instructions
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FwzZTwBMnVr9mqCogOcMm%2Fimage.png?alt=media&amp;token=ed3f1d1f-3eee-468d-a45a-9cf4d999adf6" alt=""><figcaption></figcaption></figure>
