We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6972a7a commit 85958adCopy full SHA for 85958ad
README.md
@@ -90,8 +90,8 @@ def get_weather_prompt(city: str) -> GetPromptResult:
90
)
91
92
@mcp.tool()
93
-def get_weather(city: str) -> CallToolResult:
94
- return CallToolResult(content=[TextContent(text="sunny")], is_error=False)
+def get_weather(city: str) -> str:
+ return "sunny"
95
```
96
97
### Flask with Redis Example
0 commit comments