swt
Access special weather tips from the Hong Kong Observatory. Provides current weather advisories with update time in English, Traditional or Simplified Chinese.
Instructions
Special Weather Tips (swt) API Request
Parameters:
lang: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/weather.php?dataType=swt&lang=en
Response Keys:
desc: Tips Content
updateTime: Tips Update Time (YYYY-MM-DD'T'hh:mm:ssZ)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | change the language of the result | en |