> 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/callables/callables.instructions.md).

# Callables.instructions()

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

Returns the [Instructions](/glider-ide/api/instructions.md) object for the instructions of the callables. This method can be called on all [Callables](/glider-ide/api/callables.md) child classes: [Functions](/glider-ide/api/functions.md) and [Modifiers](/glider-ide/api/modifiers.md).

### Functions Example

```python
from glider import *

def query():
  # Retrieve the instructions of a list of functions
  instructions = Functions().instructions().exec(100)

  # Return the first five instructions
  return instructions[:5]
```

Output:

<figure><img src="/files/RXzFcJsZkZHII6efNJCY" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the instructions of a list of modifiers
  instructions = Modifiers().instructions().exec(100)

  # Return the first five instructions
  return instructions[:5]
```

Output:

<figure><img src="/files/3OIjGlOoqmbnAhjIeutC" alt=""><figcaption></figcaption></figure>
