> 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F8OPFf38hWy4PtQICk9wp%2Fimage.png?alt=media&amp;token=14d081c2-2346-4e38-a312-45c824caca9d" 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FbLMJn05P8FzOWfECmoFb%2Fimage.png?alt=media&amp;token=27a0b759-476d-45f4-8855-2edfe402cbde" alt=""><figcaption></figcaption></figure>
