gemini-cli/docs
Keir Mierle 32dd298351
fix: Push tool calls to absolute paths (#1055) (#1057)
Make several changes to guide the model to request absolute paths,
reducing frequent accidental relative path tool call failures.

- Switch the parameter name: path --> absolute_path.
- Update the tool definition to strongly require an absolute path.
- Update the system prompt to indicate absolute paths are required.
- Update the system prompt tool use examples to use absolute paths.

Test case:

Open GC in GC: "Locate the primary file calling genai"
- Expected: Model opens files with absolute path, successfully.
- Actual (pre-patch): Failure, attempts to read with relative path.
- Actual (post-patch): Success, attempts to read with absolute path.
2025-06-14 21:16:11 -07:00
..
assets Add Theme docs (#753) 2025-06-05 08:10:05 -07:00
cli docs: document environment variables for cloud services (#1048) 2025-06-14 15:19:05 -07:00
core fix: Push tool calls to absolute paths (#1055) (#1057) 2025-06-14 21:16:11 -07:00
tools Improvements to web-fetch tool (#1030) 2025-06-13 17:44:14 -07:00
architecture.md Edit pass of docs/architecture.md (#971) 2025-06-12 16:44:55 +00:00
deployment.md docs: add deployment documentation (#874) 2025-06-09 19:58:24 +00:00
extension.md Fix default extension context filename and update docs (#1024) 2025-06-13 13:57:00 -07:00
index.md Allow simple extensions for registering MCPservers (#890) 2025-06-10 15:48:39 -07:00
troubleshooting.md rename shell tool more intuitively as run_shell_command (from historical name of execute_bash_command inherited from terminal tool) (#869) 2025-06-09 08:57:30 -07:00