Spaces:
Running
Running
Jeremiah Lowin Claude commited on
Commit ·
c9edd57
1
Parent(s): cd7d4ca
Update prompts.mdx
Browse filesCo-Authored-By: Claude <noreply@anthropic.com>
- docs/servers/prompts.mdx +2 -0
docs/servers/prompts.mdx
CHANGED
|
@@ -59,6 +59,8 @@ Functions with `*args` or `**kwargs` are not supported as prompts. This restrict
|
|
| 59 |
|
| 60 |
### Argument Types
|
| 61 |
|
|
|
|
|
|
|
| 62 |
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:
|
| 63 |
|
| 64 |
1. **Automatically converts** string arguments from MCP clients to the expected types
|
|
|
|
| 59 |
|
| 60 |
### Argument Types
|
| 61 |
|
| 62 |
+
<VersionBadge version="2.9.0" />
|
| 63 |
+
|
| 64 |
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:
|
| 65 |
|
| 66 |
1. **Automatically converts** string arguments from MCP clients to the expected types
|