mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(coding-agent): add exclude tools option closes #5109
This commit is contained in:
parent
1ab2899800
commit
9380d5f2e4
12 changed files with 147 additions and 6 deletions
|
|
@ -184,6 +184,7 @@ cat README.md | pi -p "Summarize this text"
|
|||
| Option | Description |
|
||||
|--------|-------------|
|
||||
| `--tools <list>`, `-t <list>` | Allowlist specific built-in, extension, and custom tools |
|
||||
| `--exclude-tools <list>`, `-xt <list>` | Disable specific built-in, extension, and custom tools |
|
||||
| `--no-builtin-tools`, `-nbt` | Disable built-in tools but keep extension/custom tools enabled |
|
||||
| `--no-tools`, `-nt` | Disable all tools |
|
||||
|
||||
|
|
@ -255,6 +256,9 @@ pi --models "claude-*,gpt-4o"
|
|||
|
||||
# Read-only mode
|
||||
pi --tools read,grep,find,ls -p "Review the code"
|
||||
|
||||
# Disable one extension or built-in tool while keeping the rest available
|
||||
pi --exclude-tools ask_question
|
||||
```
|
||||
|
||||
### Environment Variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue