> ## Documentation Index
> Fetch the complete documentation index at: https://docs.benchcanvas.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Slash commands

> Reorganize your canvas, group screens, and generate screenshots straight from the chat.

Slash commands let you act on your canvas from the [Flow chat](/ai/flow-chat) without dragging nodes by hand. Type `/` in the chat to use them.

If you ask the assistant in plain language to capture, group, or rearrange screens, it cannot run those actions itself. It will name the matching command instead so you can run it from the chat.

The same grouping, layout, and screenshot actions are also available from the [frame options menu](/canvas/tools) and the multi-select screenshot menu on the canvas.

## Grouping

| Command       | What it does                                         |
| ------------- | ---------------------------------------------------- |
| `/group`      | Group screens on the canvas.                         |
| `/group type` | Group screens by their [page type](/canvas/screens). |
| `/group url`  | Group screens by URL path.                           |

## Layout

| Command              | What it does                                          |
| -------------------- | ----------------------------------------------------- |
| `/layout`            | Apply the default automatic [layout](/canvas/layout). |
| `/layout vertical`   | Arrange screens top to bottom.                        |
| `/layout horizontal` | Arrange screens left to right.                        |

## Screenshots

| Command                                            | What it does                                       |
| -------------------------------------------------- | -------------------------------------------------- |
| `/screenshot`                                      | Generate screenshots for multiple screens at once. |
| `/screenshot desktop` or `/screenshot mobile`      | Choose the device.                                 |
| `/screenshot viewport` or `/screenshot fullscreen` | Choose viewport or full page coverage.             |

You can combine the screenshot options to capture exactly the variant you want across many screens in one go. See [Screenshots](/canvas/screenshots) for more on variants.

<Tip>
  Commands are the fastest way to clean up a freshly captured flow: group by type, then apply a layout, then generate full-page screenshots for analysis.
</Tip>
