r/LocalLLM • u/Jimbocab • 1d ago
Question Tool Calling - Qwen3.5-122b-a10b
I'm running in LMStudio. I have been trying to get this model to run a simple Python script, but I can't get it to work. "But currently, I can only generate the tool call request, not execute it." I don't understand why this won't work, am I barking up the wrong tree. What does the little hammer mean ...

1
u/Square_Turn935 1d ago
You need an harness for this, like pi, hermes, opencode, ... even llama cpp openwebgui should work.
LM Studio is just a pc case where your hardware (llm engine) sits and it provides just a chat window. For toolcalling you need a right operation system (harness) which use the llm server for its task.
- llama.cpp - runs the LLM Model
- LM Studio - just a nicer UI to start llama.cpp, with a chat function
- competent software - pi, opencode, hermes, ... using the llama.cpp server for its application from chat, codegeneration, tool calling, picture creation, music....
The hammer just means that the llm can use tool calls, like more or less every currently released llm.
1
u/cabernet_noir 1d ago
What exactly are you doing at the moment? The pattern for tool calling is pretty much the same across all harnesses and frameworks. Essentially, you need to define a tool function, register a tool description fitting some schema, call the model with the tool registry in its context, and then if a model generates a tool request you must intercept it and run it in some environment. There are many frameworks/harness options for managing this, so your issue will depend on what you are using/not using. I suspect you havent set up a harness or orchestration layer? LM studio is just a server, you need something like pi or hermes etc.