fastmcp/tests/tools
Qingsong Li 2dd1c319c6
Fix tool body validation errors at the MCP boundary (#5485)
Pydantic validation errors raised inside a tool body are now returned as tool error results instead of JSON-RPC -32602, so server-side failures no longer look like invalid client requests.

Co-authored-by: qingshungLI <201055554+qingshungLI@users.noreply.github.com>
Co-authored-by: Alastair Porter <19217+alastair@users.noreply.github.com>
2026-10-08 14:48:25 -04:00
..
tool Fix tool body validation errors at the MCP boundary (#5485) 2026-10-08 14:48:25 -04:00
tool_transform fix(tools): keep structured content for object schemas without explicit type (#5271) 2026-10-04 21:20:58 -04:00
__init__.py Support mounting FastMCPs as sub-servers 2025-04-07 17:54:55 -04:00
test_generator_thread_dispatch.py fix(tools): consume sync generators within dispatched invocation (#5376) 2026-10-04 19:51:43 -04:00
test_standalone_decorator.py Remove 3.x-era compatibility shims (#4661) 2026-07-27 14:59:43 -04:00
test_tool_future_annotations.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_tool_run_in_thread.py Make the unit suite fast: in-process HTTP tests, no real sleeps, parallel Windows CI (#4554) 2026-07-20 10:51:14 -04:00
test_tool_timeout.py fix(tools): reject results returned after timeout deadlines (#5379) 2026-10-04 19:51:50 -04:00