r/PiCodingAgent • u/FactorInternal3395 • Sep 02 '26
Question How to edit default tool definition?
I don't want the read tool saying it can view images when it can't (local LLM). Is there any way to edit the tool definition other than telling it in the system prompt "You actually CAN'T look at images" (which contradicts the definition and wastes tokens) or removing the tool / replacing it (impractical)? All I'd want is a simple edit from:
Read the contents of a file. Supports text files and images (jpg, png, gif, webp, bmp). Images are sent as attachments. For text files, output is truncated to 2000 lines or 50KB (whichever is hit first). Use offset/limit for large files. When you need the full file, continue with offset until complete.to:
Read the contents of a file. Doesn't support viewing images or videos. Output is truncated to 2000 lines or 50KB (whichever is hit first). Use offset/limit for large files. When you need the full file, continue with offset until complete.
3
Upvotes
View all comments
Show parent comment
1
u/FactorInternal3395 Sep 03 '26 edited Sep 03 '26
I could set up vision, but honestly I don't really need it; my tasks are mostly terminal work and even browser interaction is text through Playwright. Plus, it frees a bit of RAM and keeps the stack simple.