lmstudio-ai / lmstudio-ai/docs
Future Request: add ability of tool calling with tool_choice: object
- Dominant language
- MDX
- Stars
- 172
- Forks
- 128
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Description
Hello,
Currently LM Studio just supports tool_choice: ["required", "auto", "none"] but many people need to use too_choice: "object" that forces LLM to use specific tool.
please provide it in next release.
I am running Qwen3-VL-4b-instruct and python instructor tool, and cannot use Mode:Tools since it forces to use tool_choice:"object"
Contributor guide
Research direction
Review the LM Studio tool-calling API documentation and the tool_choice behavior described in the issue, including the Python Instructor integration and Qwen3-VL-4b-instruct setup. Done means a released way to pass tool_choice as an object that forces the specified tool, with the stated integration no longer requiring Mode:Tools.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100