Why do AIs I use in continue keep trying to use tools that don't exist?

Posted by Long_Video7840@reddit | LocalLLaMA | View on Reddit | 20 comments

Several times per interaction I get errors like this

read_file failed because the arguments were invalid, with the following message: Cannot read properties of undefined (reading 'trim')

Please try something else or request further instructions.

Or

read_skill failed with the message: Skill "README" not found. Available skills: none

Please try something else or request further instructions.

What is causing this and how do I fix it? This happens with almost every AI I've tested, qwen3.5, qwen3.6, LLama3.1, gemma4 and others.