summaryrefslogtreecommitdiff
path: root/docs/tools/file-system.md
diff options
context:
space:
mode:
authorSandy Tao <[email protected]>2025-06-27 16:39:54 -0700
committerGitHub <[email protected]>2025-06-27 23:39:54 +0000
commit150df382f8e0b84aa6028622480c28186c99b8a7 (patch)
treebf2e663e90914390408202aed409a95dfd56fe57 /docs/tools/file-system.md
parent19d2a0fb35ff75ebbed2dda5c8574ffcc66cd4d5 (diff)
Upgrade to Ink 6 and React 19 (#2096)
Co-authored-by: jacob314 <[email protected]>
Diffstat (limited to 'docs/tools/file-system.md')
-rw-r--r--docs/tools/file-system.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/tools/file-system.md b/docs/tools/file-system.md
index 45ed92a9..d1ef194b 100644
--- a/docs/tools/file-system.md
+++ b/docs/tools/file-system.md
@@ -180,7 +180,6 @@ The Gemini CLI provides a comprehensive suite of tools for interacting with the
- **Display name:** Edit
- **File:** `edit.ts`
- **Parameters:**
-
- `file_path` (string, required): The absolute path to the file to modify.
- `old_string` (string, required): The exact literal text to replace.
@@ -206,7 +205,6 @@ The Gemini CLI provides a comprehensive suite of tools for interacting with the
- On success: `Successfully modified file: /path/to/file.txt (1 replacements).` or `Created new file: /path/to/new_file.txt with provided content.`
- On failure: An error message explaining the reason (e.g., `Failed to edit, 0 occurrences found...`, `Failed to edit, expected 1 occurrences but found 2...`).
- **Confirmation:** Yes. Shows a diff of the proposed changes and asks for user approval before writing to the file.
-
- `new_string` (string, required): The exact literal text to replace `old_string` with.
- `expected_replacements` (number, optional): The number of occurrences to replace. Defaults to `1`.