mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 21:44:18 +02:00
* Always emit a tool title, derived from name when unset Some MCP clients (e.g. ChatGPT) drop tools with no `title` instead of falling back to `name` for display as the spec allows. Deriving a default title in Tool.to_mcp_tool() fixes this for every tool built on top of it, including the search-transform, code-mode, and session proxy tools that never set one explicitly. Fixes #4414 * Derive fallback title from the overridden name, document it Addresses Codex review on #4694. * Resolve title precedence from effective overrides * Normalize mapping annotations before deriving the title |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_argument_validation.py | ||
| test_callable.py | ||
| test_content.py | ||
| test_output_schema.py | ||
| test_results.py | ||
| test_title.py | ||
| test_tool.py | ||