Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add air-gapped/skills --skill vllm-tool-parsersgit clone --depth 1 https://github.com/air-gapped/skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/air-gapped/skills/vllm-tool-parsers)<a href="https://agentmods.dev/skills/air-gapped/skills/vllm-tool-parsers"><img src="https://agentmods.dev/badge/skills/air-gapped/skills/vllm-tool-parsers/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/air-gapped/skills/vllm-tool-parsers"><img src="https://agentmods.dev/badge/skills/air-gapped/skills/vllm-tool-parsers.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00133 | $0.08467 |
| Opus 5.5 | $0.00053 | $0.03387 |
| Sonnet 5.5 | $0.00027 | $0.01693 |
| Haiku 4.5 | $0.00013 | $0.00847 |
Grade A, and why
vllm-tool-parsers scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -sS $VLLM/v1/completions -H 'content-type: application/json' \ How it starts
The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.
vLLM Tool Parsers — Navigation Map
This skill points to the right source file, template, or GH issue. The source code is authoritative — read it. Do not paraphrase from this skill when the actual file is available.
Where things live
Assume a local vllm-project/vllm checkout is accessible. Every reference below is relative to that repo root.
| Target | Read |
|---|---|
| All tool parsers | vllm/tool_parsers/ (one file per parser). Not vllm/entrypoints/openai/tool_parsers/ — removed at v0.14.0; imports from it fail |
Parser base class + ToolParserManager |
vllm/tool_parsers/abstract_tool_parser.py |
Shared helpers (partial_json_loads, find_common_prefix, make_valid_python, partial_tag_overlap, compute_tool_delta, handle_single_tool) |
vllm/tool_parsers/utils.py |
| Built-in parser registry | vllm/tool_parsers/__init__.py — _TOOL_PARSERS_TO_REGISTER maps CLI name → module → class |
| Unified parser engine (new) | vllm/parser/ — one class per model (qwen3.py, gemma4.py, deepseek_v4.py, deepseek_v32.py, seed_oss.py, …), abstract_parser.py, and engine/ (parser_engine.py, streaming_parser_engine.py, incremental_lexer.py, token_id_scanner.py) |
| Adapter construction | vllm/parser/engine/adapters.py defines make_adapters(XParser) → (XParserReasoningAdapter, XParserToolAdapter); most pairs are built in vllm/parser/engine/registered_adapters.py, a few in the model's own vllm/parser/<model>.py (ling3). The tool side is then subclassed in vllm/tool_parsers/*.py to attach structural_tag_model |
| CLI flag definitions | vllm/entrypoints/common/cli_args.py (v0.33.0+; vllm/entrypoints/launchers/cli_args.py on v0.29.0–v0.32.0, removed with no shim — imports from it fail) — grep tool_call_parser, enable_auto_tool_choice, tool_parser_plugin |
| Non-streaming serving invocation | vllm/entrypoints/openai/chat_completion/serving.py — grep parser.parse(; DelegatingParser in vllm/parser/abstract_parser.py calls the tool parser's extract_tool_calls |
| Streaming serving loop | v0.33.0+: vllm/entrypoints/openai/chat_completion/stream_processor.py — ChatStreamProcessor.step (calls parse_delta, sets tools_streamed). Before: serving.py — grep parse_delta, tools_streamed |
finish_reason rule (v0.33.0+) |
resolve_finish_reason in vllm/entrypoints/serve/utils/tool_calls_utils.py — one function for streaming and non-streaming |
| Tail flush of unstreamed args | vllm/parser/abstract_parser.py — grep _append_unstreamed_tool_args; reads ToolParser.get_remaining_unstreamed_args() in abstract_tool_parser.py |
| Plugin import wiring | v0.33.0+: init_parser_plugin in vllm/entrypoints/common/cli_args.py, called from vllm/entrypoints/launchers/api_server/entry.py and vllm/entrypoints/launchers/launcher.py. Before: grep import_tool_parser in those two files (vllm/entrypoints/openai/api_server.py is a deprecated re-export shim) |
| Responses API tool handling | vllm/entrypoints/openai/responses/serving.py + vllm/entrypoints/openai/responses/utils.py |
| Per-parser Jinja chat templates | examples/tool_chat_template_<family>.jinja |
| Per-parser tests (executable spec) | tests/tool_parsers/test_<name>_tool_parser.py + tests/tool_parsers/common_tests.py |
| User-facing docs | docs/features/tool_calling.md |
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/benchmark.plugin-eval.json 410 B
- evals/evals.json 22 KB
- evals/last-run.json 638 B
- references/custom-parser-plugin.md 6.2 KB
- references/improvement-backlog.md 10 KB
- references/knowledge-claims.json 4.5 KB
- references/parser-index.md 21 KB
- references/sources.md 41 KB
- references/streaming-pitfalls.md 5.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago Changed · +4 lines 984f01df9190
- 21d ago Changed · +8 lines 5dcce3c2cc18
- 1mo ago Changed · -12 lines 34053a56ef1e
- 1mo ago Changed · +2 lines 5c22fe9734db
- 2mo ago Changed · +8 lines 0678517735d5
- 2mo ago Changed · +1 lines 3cb31a1afc95
- 2mo ago Changed · +6 lines 21d805538ff8
- 2mo ago First seen · 261 lines · 133 tokens per session scan A fc915509165f
vllm-tool-parsers is a skill published in the GitHub repository air-gapped/skills (8 stars, last pushed 6d ago), licensed MIT. It adds 133 tokens to every session and 8,467 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
vllm-tool-parsers compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vllm-tool-parsersair-gapped/skills | Skill | 8 | 6d ago | MIT | A | 133 | Claude Code |
| tg-alertsDmitriyYukhanov/claude-plugins | Skill | 8 | 1mo ago | MIT | C | 56 | Claude Code |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |
| gemini-api-agent-platformdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 61 | Claude Code, Codex |
| microservices-patternswshobson/agents | Skill | 43k | yesterday | MIT | A | 38 | Claude Code |
| memstack-automation-webhook-designercwinvestments/memstack | Skill | 433 | 18d ago | MIT | A | 74 | Claude Code |
| csharp-patternssoftspark/ai-toolkit | Skill | 180 | 13d ago | Apache-2.0 | A | 61 | Claude Code |