@@ -1785,10 +1785,10 @@ Extensions can override built-in tools (`read`, `bash`, `edit`, `write`, `grep`,
|
||||
pi -e ./tool-override.ts
|
||||
```
|
||||
|
||||
Alternatively, use `--no-tools` to start without any built-in tools:
|
||||
Alternatively, use `--no-builtin-tools` to start without any built-in tools while keeping extension tools enabled:
|
||||
```bash
|
||||
# No built-in tools, only extension tools
|
||||
pi --no-tools -e ./my-extension.ts
|
||||
pi --no-builtin-tools -e ./my-extension.ts
|
||||
```
|
||||
|
||||
See [examples/extensions/tool-override.ts](../examples/extensions/tool-override.ts) for a complete example that overrides `read` with logging and access control.
|
||||
|
||||
Reference in New Issue
Block a user