Files
RoboMovel/simulacao/robo-movel-godot/addons/claude_godot/docs/tools/write_file.md
T
mguinhosandClaude Opus 5.5 393019705c Projeto: app demo, servidor/firmware em software/, simulacao Godot, planta do bloco D, chapas MDF da base, renders e slides
- app/: app demo (Kivy/buildozer) da API do robo
- software/: servidor RoboMovel (SLAM, profundidade, navegacao) e firmware da base movel (movido de firmware/)
- simulacao/: projeto Godot do robo e script de lancamento servidor + simulacao
- modelos/: planta do 5o andar do bloco D, cena Blender do corredor e modelo real do robo
- partes/mdf/: chapas identificadas e nesting da base do robo (DXF/SVG/FCStd)
- projeto/render, relatorio/imagens, slides: renders finais e apresentacoes de progresso
- ferramentas/scripts: encaixe de chapas, planta do bloco D e render do corredor no Blender
- .gitignore: ignora backups do Blender/FreeCAD e .godot/

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 23:38:16 -03:00

802 B

write_file

Create a file, or overwrite one in full.

Input — path (required), contents (required)

For changing part of an existing file, prefer edit_file: it replaces just the matched text, so the model doesn't have to reproduce the rest of the file and can't silently discard edits it never read. This tool is for a new file, or for when the file should become exactly these contents.

Overwrites, or creates along with any missing directories. Returns the byte count and a unified diff against what was there before, so the model sees what it actually changed rather than assuming.

The dock renders that diff in colour in the tool card. Diffing is skipped for files over 2000 lines — the LCS pass is O(n·m) and would stall the editor — and the result says so.