mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
add excludeTools flag to settings.json config (#957)
This commit is contained in:
@@ -64,6 +64,9 @@ When you create a `.gemini/settings.json` file for project-specific settings, or
|
||||
- **Description:** Allows you to specify a list of core tool names that should be made available to the model. This can be used to restrict or customize the set of built-in tools.
|
||||
- **Example:** `"coreTools": ["ReadFileTool", "GlobTool", "SearchText"]`.
|
||||
- **Behavior:** If this setting is provided, only the listed tools will be available for the model to use. If omitted, all default core tools are available. See [Built-in Tools](../core/tools-api.md#built-in-tools) for a list of core tools. You can also specify the alternative internal tool names used by the model, e.g. `read_file`, and you can get a full listing for that by simply asking the model "what tools do you have?".
|
||||
- **`excludeTools`** (array of strings, optional):
|
||||
- **Description:** Allows you to specify a list of core tool names that should be excluded from the model.
|
||||
- **Example:** `"excludeTools": ["run_shell_command", "glob"]`.
|
||||
- **`autoAccept`** (boolean, optional):
|
||||
|
||||
- **Description:** Controls whether the CLI automatically accepts and executes tool calls that are considered safe (e.g., read-only operations) without explicit user confirmation.
|
||||
|
||||
Reference in New Issue
Block a user