get_current_weather
Retrieve real-time weather data for a specified city using the MCP TypeScript Demo Server. Provide the city name as input to access accurate weather information.
Instructions
Get weather info for a given city.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
city | Yes | 城市名称, 比如北京 上海 广州 |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"city": {
"description": "城市名称, 比如北京 上海 广州",
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
}