Antigravity Agent 09-2026 renames its built-in tools and switches to line-range file edits
The Antigravity 09-2026 agent's built-in tools have new names and PascalCase parameters, and file edits use line-range replacements instead of full rewrites. Code that runs tools locally or parses function_call steps must be updated.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Action neededIntegrations that run Antigravity tools locally break on the new agent version, and the old version can shut down from October 5, 2026. Fund the rework now.
Engineer
What to change, what breaks, what to test Action neededIf you run tools locally or parse `function_call` steps, map `write_file`, `read_file` and `list_files` to `write_to_file`/`replace_file_content`, `view_file` and `list_dir`, with PascalCase parameters.
General consumer
Using the Gemini app, not the API No impactNothing to do — this is a developer API change and does not affect the Gemini app.
The built-in tools of the Antigravity agent changed between antigravity-preview-05-2026 and antigravity-preview-09-2026. Parameters are now PascalCase rather than snake_case, and file edits replace a line range instead of rewriting the whole file:
| Capability | 05-2026 | 09-2026 |
|---|---|---|
| File creation | write_file(path, content) | write_to_file(TargetFile, CodeContent, Overwrite, Description) |
| File editing | write_file, full rewrite | replace_file_content(TargetFile, StartLine, EndLine, TargetContent, ReplacementContent) |
| File reading | read_file(path, offset, limit) | view_file(AbsolutePath, StartLine, EndLine, ContentOffset) |
| Directory listing | list_files(path) | list_dir(DirectoryPath) |
| Search | none (shell commands) | find_by_name, grep_search |
Shell execution (code_execution) and web search (google_search) are unchanged. This matters only when tools run locally (local_environment) or code parses function_call steps; remote-sandbox agents reading only text outputs are unaffected. The 05-2026 agent shuts down from October 5, 2026.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
write_file | removed | yes | antigravity-preview-09-2026 |
write_to_file | added | no | antigravity-preview-09-2026 |
replace_file_content | added | no | antigravity-preview-09-2026 |
read_file | removed | yes | antigravity-preview-09-2026 |
view_file | added | no | antigravity-preview-09-2026 |
list_files | removed | yes | antigravity-preview-09-2026 |
list_dir | added | no | antigravity-preview-09-2026 |
find_by_name | added | no | antigravity-preview-09-2026 |
grep_search | added | no | antigravity-preview-09-2026 |
Topics: Coding tools
Terms on this page: Retirement