Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
Prompt guide
OfficialDeepSeek V3.2

DeepSeek V3.2 Thinking Tool Calls and Multi-turn State Configuration

Original source

DeepSeek API Docs / DeepSeek-V3.2 Release and Thinking Mode

AuthorDeepSeek

Source date2025-12-01

Tabbit curation2026-08-19

Read original

One-sentence takeaway

V3.2 integrates thinking directly into tool use. Multi-turn tool requests must fully pass back the previous turn's reasoning_content; otherwise, the API may return an error or lose the reasoning state. The thinking mode should not be configured with temperature/top_p.

Use cases

  • Suitable tasks: Agents that need multi-step retrieval, function calls, code/data tools, and state across turns.

  • Unsuitable tasks: Tasks that require Speciale to call tools; the official release notes described Speciale at the time as API-only with no tool use. It is also unsuitable to treat reasoning_content as text for public explanations.

  • Applicable model versions: The specific alias for deepseek-chat/V3.2 API should follow the current docs; V3.2-Speciale is a separate variant with a temporary endpoint at release and no tool support.

  • Applicable clients, Agents, or APIs: OpenAI-compatible Chat Completions; the OpenAI SDK can pass thinking through extra_body.

  • Recommended reasoning level and parameters: Thinking is enabled by default, with a default level of high; explicitly pass reasoning_effort=low/high/max (the current documentation mapping needs to be checked) and extra_body={"thinking":{"type":"enabled"}}. In thinking mode, temperature/top_p/presence_penalty/frequency_penalty have no effect.

Ready-to-use content

from openai import OpenAI
import json

client = OpenAI(
    api_key="<DEEPSEEK_API_KEY>",
    base_url="https://api.deepseek.com"
)

tools = [{
    "type": "function",
    "function": {
        "name": "search_docs",
        "description": "Search approved documents and return source IDs. Never invent results.",
        "parameters": {
            "type": "object",
            "properties": {"query": {"type": "string"}},
            "required": ["query"]
        }
    }
}]

messages = [{
    "role": "user",
    "content": "Find materials related to <topic>. Attach a source_id to every conclusion; if nothing is found, explicitly say so."
}]

while True:
    response = client.chat.completions.create(
        model="deepseek-v3.2",
        messages=messages,
        tools=tools,
        reasoning_effort="high",
        extra_body={"thinking": {"type": "enabled"}},
    )
    assistant = response.choices[0].message
    # Official requirement: preserve content, reasoning_content, and tool_calls together
    messages.append(assistant)
    if not assistant.tool_calls:
        print(assistant.content)
        break
    for call in assistant.tool_calls:
        args = json.loads(call.function.arguments)
        result = run_approved_tool(call.function.name, args)
        messages.append({
            "role": "tool",
            "tool_call_id": call.id,
            "content": result,
        })

Test/workflow steps

  1. Validate the preservation and return of reasoning_content with two sets of tasks, one without tools and one with tools; on the tool path, append the complete assistant message unchanged.

  2. Fix reasoning_effort, then run low/high/max separately; do not tune temperature/top_p at the same time.

  3. Record the reasoning tokens, tool calls, errors, final answer, and total cost for each sub-turn.

  4. Validate tool names, parameters, permissions, and result sources on the server; do not display reasoning_content directly to end users.

Raw evidence and data

  • DeepSeek's release notes say V3.2 is the first model to integrate thinking directly into tool use, and that it supports both thinking and non-thinking tool modes.

  • The official thinking documentation states that requests with tools must fully pass back reasoning_content in all subsequent requests; otherwise, the API returns 400.

  • The official documentation says thinking mode does not support temperature, top_p, presence_penalty, or frequency_penalty; even if a compatible interface does not return an error, these settings have no effect.

  • The official release notes say Speciale targets the highest level of reasoning, is API-only, and had no tool use at the time; do not copy the regular V3.2 tool code for Speciale.

Applicability boundaries

  • The current docs page includes examples for later models and effort mappings. Production deployments must confirm the current V3.2 alias and endpoint rather than copying other model names from the page.

  • “Default high” and the effort mapping may change with the API version; pin a model snapshot and record response metadata.

  • reasoning_content is part of the model's internal reasoning context. Saving it is required by the API state protocol and does not mean exposing chain-of-thought to users.

  • The tool loop must have a maximum number of sub-turns, a timeout, duplicate-call detection, and a budget to prevent the model from calling tools indefinitely.

Source excerpt or observation (compliance short quote only)

DeepSeek's key official requirement is: when tool calls are used, reasoning_content must be fully passed back (compliance short quote).

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

DeepSeek V3.2

Use in Tabbit

DeepSeek V3.2

Related prompts

MediaDeepSeek-V3.2 technical report (arXiv)2025-12-03

DeepSeek-V3.2's Long-Context and Agent Evidence-Anchoring Workflow

DeepSeek V3.2

Related reviews

OfficialDeepSeek API Docs / DeepSeek-V3.2 Release2025-12-01

DeepSeek-V3.2 Official Release: Reasoning and Agent Positioning of V3.2 and Speciale

MediaarXiv / DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models2025-12-03

DeepSeek-V3.2 Technical Report: DSA, Agent Synthetic Data, and Reasoning Baselines

MediaSWE-bench Leaderboards2026-02-17

DeepSeek V3.2 Coding Agent Results on the SWE-bench Leaderboard

CommunityReddit / r/LocalLLaMA2025-12

Reddit LocalLLaMA: Experience Boundaries for DeepSeek V3.2 Agent Coding