Files
RoboMovel/simulacao/robo-movel-godot/addons/claude_godot/docs/tools/tools.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

3.2 KiB

Tools

The model is given all of these on every request. There is one file per tool here, mirroring agent/tools/ — adding a tool means a new file there plus one line in the registry in agent/tools.gd.

Files

Tool What it does
get_editor_setting Read an editor setting
get_project_setting Read a project setting
list_addons List installed addons
list_editor_settings Find an editor setting
list_files List a directory
list_project_settings Find a project setting
list_sessions List saved chats
read_file Read a file, including images
remote Run a shell command
web_fetch Fetch a URL as text
resume_session Switch to another chat
screenshot Capture the editor window
set_addon_enabled Enable or disable an addon
set_editor_setting Change an editor setting
set_project_setting Change a project setting
update_session_description Name the current chat
write_file Create or fully overwrite a file
delete_file Delete a file, sidecars included
move_file Move or rename a file
copy_file Copy a file
edit_file Replace an exact snippet; prefer over write_file
read_log Read Godot's editor or project log
compact Summarize the chat to free context
eval Run GDScript and return its value
reload Rescan the filesystem or restart
task Start a background agent run

Paths

Tool paths are project-relative: anything not starting with res:// is treated as if it were, and .. can't climb out.

The single exception is user://.claude-godot/, which holds memory and sessions. Those are deliberately outside the project so they are not committed with the game, and the file tools reach them so the model can keep notes. No other part of user:// is reachable.

Result size

Tool output is clipped at 60,000 characters before it reaches the conversation, with a note saying what the full length was. An oversized result is not a one-off failure — it stays in the history and is resent with every following request, so the conversation would be stuck until it was removed.

If a request is rejected for exceeding the context anyway, the agent empties the most recent tool outputs, tells you how much it dropped, and retries once rather than leaving the chat unable to send anything.

Results

A tool returns text, plus optional extras the dock understands rather than the model: a diff for write_file, an image for read_file, a deferred session switch for resume_session. Errors come back as text with a flag, not as exceptions — a failed tool call is something the model should read and respond to, not something that stops the turn.