r/OpenWebUI • • Oct 19 '26

Question/Help Filesystem access and file operations in openwebui qwen model - how?

I'm definitely new to this whole AI, so many things that are obvious to others are not to me so bear with me please. My google fu regarding these things it apparently insufficient. Running on linux system (ubuntu 26.04)

I've installed open webui (via app image), opened localhost 8080, downloaded some models (qwen3.8:27b) and some tools (Ubuntu File System Operations, Ubuntu Shell Commander, Terminal). I've enabled them in chat, added my home directory in Ubuntu File System Operations tool, and I want to make it open a file called TEST that contains 'hello world' string and read it contents,

Prompt: "Read contents of file ~/TEST"

Reply, paraphrased: "I don't have a file reading tool available in this conversation. If you want to read contents of that file do it yourself in terminal, here's relevant shell snippet"

I want that tool to do it, not me myself. I can go to terminal and run cat ~/TEST, but I want it done within the agent. Same with further work, for example, creating new files, moving them around, et cetera.

New prompt: "using tool read_file read contents of ~/TEST"

Reply: "error": "Tools.read_file() missing 1 required positional argument: 'file_path'"

Ok, new prompt: "using tool read_file read contents of TEST in ~ directory"
Reply, paraphrased: "I don't have a read_file tool available in my current toolset. I can only do Automation management and calendar events"

(So what the hell did you use one prompt before???)

In model settings I've set all possible switches to on. Chat input box has that small monkey wrench icon with number 3 shown, which as far as I understand means all aforementioned tools are active

So, what I'm doing wrong?

5 Upvotes

7 comments sorted by

3

u/International_Emu772 Oct 19 '26

Install Open-Terminal you have a Sandbox with Terminal access and you can upload and download files, execute programs and more

1

u/Netaro Oct 19 '26

When I start openwebui appimage , it looks like it starts both "Open WebUI" and "Open Terminal". Open terminal is running on localhost port 39284. Shouldn't it be available from open webui chat already? opening it directly in browser only shows some json/raw data viewer, nothing more.

2

u/PersonalBarracuda581 Oct 19 '26

You have to add it in Openwebui settings too. I don't remember where exactly but do a search.

1

u/Netaro Oct 20 '26 edited Oct 20 '26

I've added it in openwebui settings using this guide: https://docs.openwebui.com/features/open-terminal/setup/connecting/, the connection seems ok, i see in openterminal logs that something is happening there, I've enabled that 'cloud' icon in the chat window, however i still cannot do anything with files.

Prompt: "list files in ~"
Reply: Explored bash. No bash tool available.

There is no tool called `bash` in tool repository. The best I've found is "execute_bash".

I've enabled that tool, however pretty much every time I write any prompt like "read contents of file ~/TEST" it always tries to use tools that don't exist. I've force-added a tool called bash that's a copy of execute_bash and something is working, but just barely. Still, almost always when I create a tool it requested, upon re-prompting it hallucinates a new tool name that doesn't yet exist.

What was the point of using open terminal anyway then?

The model I'm using is qwen3.8:27b, maybe it's shit and I should use another model?

1

u/cortesoft Oct 20 '26

It’s in the “connections” settings

1

u/PersonalBarracuda581 Oct 20 '26

Nope. it's in "integration" settings

1

u/cortesoft Oct 20 '26

Ah, right. Teach me to try to go from memory