sampling.tools support in MCP clients

Which MCP clients support sampling.tools, and how each claim is known. The protocol introduced it in 2025-11-25.

Part of sampling.

Support

Client Kind Status Known from Revisions Notes
fast-agent framework ● full read 2026-07-28 Tools in the request are passed to the LLM, and a tool call comes back as CreateMessageResultWithTools with stopReason "toolUse". The server executes and follows up.
Hermes Agent host ◇ opt-in read, declared 2025-11-25 Opt-in per server through expose_client_tools, off by default. A comment says strict servers rejected the unknown sampling.tools sub-capability during initialization (#5468). Server-sent tools are forwarded to the model and CreateMessageResultWithTools is returned whatever the setting. At a24c12d1 the sub-capability was always declared.
Mastra framework ○ unsupported read 2026-07-28 Sampling is not implemented.
eve framework ○ unsupported read 2026-07-28 Sampling is not implemented.
crewAI * framework ○ unsupported read, through sampling 2025-11-25 Follows from sampling.
deepagents * framework ○ unsupported read 2025-11-25 The declaration is sampling: {} with no tools sub-capability, and no handler exists.
Microsoft Agent Framework framework ◇ opt-in read 2026-07-28 sampling.tools is declared only when a chat client is set. The request tools are passed to the chat client as schema-only functions, and tool calls come back as CreateMessageResultWithTools with stopReason toolUse.
Visual Studio Code * host ○ unsupported read, declared, through sampling 2025-06-18, 2025-11-25 sampling.tools is not declared. tool_use and tool_result parts are dropped from the messages.
Langflow * host ○ unsupported read, through sampling 2025-11-25 Follows from sampling.
TypeScript SDK Client sdk ◇ opt-in read 2025-11-25 A request with tools or toolChoice is validated against the tool-use result schema.

Not recorded for goose, Codex CLI, opencode, Cline, OpenClaw, Kilo Code, fx (native engine), libfx (fx JavaScript adapter), pi, Strands Agents, Google ADK (Python), Google Antigravity, Claude Code, Claude.ai, ChatGPT, Codex Desktop, Hugging Face Chat UI, Cursor, n8n, mcp-use, Zed, Warp, Reachy Mini conversation app. A missing record is not the same as unsupported.

Rows describe each client on 2026-07-28. A row marked * is for the newest revision the client speaks, because it cannot negotiate 2026-07-28: 2025-11-25 for 4 clients.

Tiers are not ranked. read is a source read at a pinned commit, verified is a probe run, observed is telemetry, and declared is what the client or a curated list says. "Through" names the parent capability whose evidence a row rests on when it has none of its own.

By protocol revision

No client records a different row on 2025-11-25, so the rows above hold there too.

Hermes Agent has one set of rows for every revision it speaks, not yet split by revision.

The matrix on 2025-11-25 shows every capability on that revision.

Where the tiers disagree

Evidence

fast-agent:

Hermes Agent:

Mastra:

eve:

deepagents:

Microsoft Agent Framework:

TypeScript SDK Client:

Lifecycle

Revision Change
2025-11-25 Introduced.

Tool calling support in sampling via tools and toolChoice parameters.

SEP-1577.

Research notes

Kinds

Data

This page as JSON: /data/capabilities/sampling-tools.json. All capabilities: /data/capabilities/index.json, and the matrix.