Documentation ¶ Overview ¶ Package main demonstrates WithForceTool — the LM-Studio-supported way to force a specific function since the OpenAI object form of tool_choice is rejected. The SDK sets tool_choice="required" and narrows tools[] to just the named tool on the wire. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.