Skip to content

Commit 95a5097

Browse files
committed
adds more doc on path globbing
1 parent c371e72 commit 95a5097

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/built-in-tools.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Tool for reading files, directories, and images.
5757

5858
| Option | Type | Default | Description |
5959
|--------|------|---------|-------------|
60-
| `allowedPaths` | array of strings | `[]` | List of paths that can be read without prompting. Supports glob patterns |
61-
| `deniedPaths` | array of strings | `[]` | List of paths that are denied. Supports glob patterns. Deny rules are evaluated before allow rules |
60+
| `allowedPaths` | array of strings | `[]` | List of paths that can be read without prompting. Supports glob patterns. Glob patterns have the same behavior as gitignore. For example, `~/temp` would match `~/temp/child` and `~/temp/child/grandchild` |
61+
| `deniedPaths` | array of strings | `[]` | List of paths that are denied. Supports glob patterns. Deny rules are evaluated before allow rules. Glob patterns have the same behavior as gitignore. For example, `~/temp` would match `~/temp/child` and `~/temp/child/grandchild` |
6262

6363
## Fs_write Tool
6464

@@ -81,8 +81,8 @@ Tool for creating and editing files.
8181

8282
| Option | Type | Default | Description |
8383
|--------|------|---------|-------------|
84-
| `allowedPaths` | array of strings | `[]` | List of paths that can be written to without prompting. Supports glob patterns |
85-
| `deniedPaths` | array of strings | `[]` | List of paths that are denied. Supports glob patterns. Deny rules are evaluated before allow rules |
84+
| `allowedPaths` | array of strings | `[]` | List of paths that can be written to without prompting. Supports glob patterns. Glob patterns have the same behavior as gitignore.For example, `~/temp` would match `~/temp/child` and `~/temp/child/grandchild` |
85+
| `deniedPaths` | array of strings | `[]` | List of paths that are denied. Supports glob patterns. Deny rules are evaluated before allow rules. Glob patterns have the same behavior as gitignore.For example, `~/temp` would match `~/temp/child` and `~/temp/child/grandchild` |
8686

8787
## Report_issue Tool
8888

0 commit comments

Comments
 (0)