From 4a038d8f5489e4afad52ebb948ead676d59b72ce Mon Sep 17 00:00:00 2001 From: Jeremiah Lowin <153965+jlowin@users.noreply.github.com> Date: Sun, 22 Jun 2025 09:57:25 -0400 Subject: [PATCH] Update prompts.mdx Co-Authored-By: Claude --- docs/servers/prompts.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/servers/prompts.mdx b/docs/servers/prompts.mdx index 02fa4991e..80c799781 100644 --- a/docs/servers/prompts.mdx +++ b/docs/servers/prompts.mdx @@ -59,6 +59,8 @@ Functions with `*args` or `**kwargs` are not supported as prompts. This restrict ### Argument Types + + The MCP specification requires that all prompt arguments be passed as strings, but FastMCP allows you to use typed annotations for better developer experience. When you use complex types like `list[int]` or `dict[str, str]`, FastMCP: 1. **Automatically converts** string arguments from MCP clients to the expected types