mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-24 14:34:17 +02:00
Updated FunctionPrompt.render() to accept dict[str, Any] instead of dict[str, str | Context] to preserve the developer experience of passing properly typed arguments while also supporting string-only arguments from MCP clients. The _convert_string_arguments method now intelligently handles both scenarios: - Already-typed arguments are passed through unchanged - String arguments are converted to expected types when needed This maintains backward compatibility while enabling MCP spec compliance. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| cli | ||
| client | ||
| contrib | ||
| deprecated | ||
| prompts | ||
| resources | ||
| server | ||
| test_servers | ||
| tools | ||
| utilities | ||
| __init__.py | ||
| conftest.py | ||
| test_examples.py | ||