@@ -167,20 +167,21 @@ When you use `@copilot`, the LLM can call functions like `bash`, `edit`, `file`,
167167
168168All predefined functions belong to the ` copilot` group .
169169
170- | Function | Type | Description | Example Usage |
171- | ---- ------- | -------- | ------------------------------------------------------- | - -------------------- |
172- | ` bash` | Tool | Executes a bash command and returns output | ` @copilot` only |
173- | ` buffer` | Resource | Retrieves content from buffer (s ) with diagnostics | ` #buffer:active` |
174- | ` clipboard` | Resource | Provides access to system clipboard content | ` #clipboard` |
175- | ` edit` | Tool | Applies a unified diff to a file | ` @copilot` only |
176- | ` file` | Resource | Reads content from a specified file path | ` #file:path/to/file` |
177- | ` gitdiff` | Resource | Retrieves git diff information | ` #gitdiff:staged` |
178- | ` glob` | Resource | Lists filenames matching a pattern in workspace | ` #glob:**/*.lua` |
179- | ` grep` | Resource | Searches for a pattern across files in workspace | ` #grep:TODO` |
180- | ` selection` | Resource | Includes the current visual selection with diagnostics | ` #selection` |
181- | ` url` | Resource | Fetches content from a specified URL | ` #url:https://...` |
170+ | Function | Type | Description | Example Usage |
171+ | ---- ------- | -------- | ------------------------------------------------------ | -------------------- |
172+ | ` bash` | Tool | Executes a bash command and returns output | ` @copilot` only |
173+ | ` buffer` | Resource | Retrieves content from buffer (s ) with diagnostics | ` #buffer:active` |
174+ | ` clipboard` | Resource | Provides access to system clipboard content | ` #clipboard` |
175+ | ` edit` | Tool | Applies a unified diff to a file | ` @copilot` only |
176+ | ` file` | Resource | Reads content from a specified file path | ` #file:path/to/file` |
177+ | ` gitdiff` | Resource | Retrieves git diff information | ` #gitdiff:staged` |
178+ | ` glob` | Resource | Lists filenames matching a pattern in workspace | ` #glob:**/*.lua` |
179+ | ` grep` | Resource | Searches for a pattern across files in workspace | ` #grep:TODO` |
180+ | ` selection` | Resource | Includes the current visual selection with diagnostics | ` #selection` |
181+ | ` url` | Resource | Fetches content from a specified URL | ` #url:https://...` |
182182
183183** Type Legend :**
184+
184185- ** Resource ** : Can be used manually via ` #function` syntax
185186- ** Tool ** : Can only be called by LLM via ` @copilot` (for safety / complexity reasons )
186187
0 commit comments