# Get Guild Roles

**Introduction**&#x20;

This step retrieves a complete list of all roles within a specified guild.

**Description**&#x20;

Useful for obtaining an overview of all the roles in a guild, including their details.

**Configuration**

* **Guild**: Choose the guild from which to retrieve the list of roles. This is a required field.

**Outputs**

* **Roles**: A comprehensive list of roles in the selected guild.

**Usage**&#x20;

Ideal for role management and analysis such as reviewing role configurations.

**Permissions**

* No specific permissions are required to retrieve the list of roles.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flexy.bot/modules/discord/steps/get-guild-roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
