Update configuration.md (#722)

This commit is contained in:
Cindy Xing 2025-06-03 21:33:02 -07:00 committed by GitHub
parent 54eb1419a8
commit d85f09ac51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ When you create a `.gemini/settings.json` file for project-specific settings, or
- **`coreTools`** (array of strings, optional): - **`coreTools`** (array of strings, optional):
- **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. - **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"]`. - **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](../server/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?". - **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?".
- **`autoAccept`** (boolean, optional): - **`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. - **Description:** Controls whether the CLI automatically accepts and executes tool calls that are considered safe (e.g., read-only operations) without explicit user confirmation.

View File

@ -2,5 +2,5 @@ Nested package template. Either fill this out with "backend" functionality or cr
To use this package from another dependent package in this monorepo: To use this package from another dependent package in this monorepo:
1. Add `"@gemini-code/server"` to the dependent package's `package.json` 1. Add `"@gemini-code/core"` to the dependent package's `package.json`
1. Import a dependency by calling `import { } from "@gemini-code/server"` 1. Import a dependency by calling `import { } from "@gemini-code/core"`