Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions packages/web/src/content/docs/docs/permissions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ Permissions are configured in your `opencode.json` file under the `permission` k

### Tool Permission Support

| Tool | Description |
| ---------- | ------------------------------- |
| `edit` | Control file editing operations |
| `bash` | Control bash command execution |
| `webfetch` | Control web content fetching |
| Tool | Description |
| ----------- | ------------------------------- |
| `bash` | Execute shell commands |
| `edit` | Modify existing files |
| `write` | Create new files |
| `read` | Read file contents |
| `grep` | Search file contents |
| `glob` | Find files by pattern |
| `list` | List directory contents |
| `patch` | Apply patches to files |
| `todowrite` | Manage todo lists |
| `todoread` | Read todo lists |
| `webfetch` | Fetch web content |

They can also be configured per agent, see [Agent Configuration](/docs/agents#agent-configuration) for more details.

Expand Down
Loading