# Chat Commands

Type `/` in the chat input to see available slash commands.

## Available commands

### /edit

Direct edit mode. AI makes changes based on your instructions. **Usage:** `/edit Change the background to dark blue`

### /generate

Full section generation. AI creates a complete new section. **Usage:** `/generate A FAQ section with 6 common questions about shipping`

### /optimize

CRO optimization. AI analyzes content and suggests conversion improvements. **Usage:** `/optimize`

{% hint style="info" %}
Commands are optional shortcuts. You can achieve the same results with natural language instructions.
{% endhint %}


---

# 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://help.pagefly.io/smart-pages/editing-with-ai-chat/chat-commands.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.
