Skip to content

Commit 6f71202

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e7c511b commit 6f71202

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -167,20 +167,21 @@ When you use `@copilot`, the LLM can call functions like `bash`, `edit`, `file`,
167167
168168
All 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

Comments
 (0)