lmstudio-ai / lmstudio-ai/docs

Future Request: add ability of tool calling with tool_choice: object

Open
#177 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.