---
id: pr-vllm-39217
repo: vllm-project/vllm
pr: 39217
title: '[Mistral Grammar] Fix tool and reasoning parsing'
author: juliendenize
date: '2026-04-16'
url: https://github.com/vllm-project/vllm/pull/39217
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: c0722f22de7159c7ed91fa8268bcecd87b35fe9e
inclusion_reason: include
changed_paths:
- tests/tool_parsers/test_mistral_tool_parser.py
- tests/tool_use/mistral/test_mistral_tool_calls.py
- tests/tool_use/mistral/utils.py
- vllm/entrypoints/openai/chat_completion/protocol.py
- vllm/entrypoints/openai/chat_completion/serving.py
- vllm/entrypoints/openai/engine/serving.py
- vllm/entrypoints/serve/render/serving.py
- vllm/sampling_params.py
- vllm/tokenizers/mistral.py
- vllm/tool_parsers/mistral_tool_parser.py
artifact_dir: evidence/pull-bundles/vllm/gh-39217
head_ref_oid: 69466bf701a55a438b06a9eb5c73cc81c653bccd
---
# [Mistral Grammar] Fix tool and reasoning parsing

- Repository: `vllm-project/vllm`
- PR: [39217](https://github.com/vllm-project/vllm/pull/39217)
- Decision: `include`
- Reason: include

## Changed Paths

- `tests/tool_parsers/test_mistral_tool_parser.py`
- `tests/tool_use/mistral/test_mistral_tool_calls.py`
- `tests/tool_use/mistral/utils.py`
- `vllm/entrypoints/openai/chat_completion/protocol.py`
- `vllm/entrypoints/openai/chat_completion/serving.py`
- `vllm/entrypoints/openai/engine/serving.py`
- `vllm/entrypoints/serve/render/serving.py`
- `vllm/sampling_params.py`
- `vllm/tokenizers/mistral.py`
- `vllm/tool_parsers/mistral_tool_parser.py`

## Evidence Bundle

`evidence/pull-bundles/vllm/gh-39217`
