qem
Retrieve earthquake data including latitude, longitude, magnitude, region, and time from the Hong Kong Observatory. Supports English, Traditional Chinese, and Simplified Chinese.
Instructions
Quick Earthquake Messages (qem) API Request
Parameters:
lang: 'en' (English), 'tc' (Traditional Chinese), 'sc' (Simplified Chinese)
Request Example: https://data.weather.gov.hk/weatherAPI/opendata/earthquake.php?dataType=qem&lang=en
Response Keys:
lat: Latitude
lon: Longitude
mag: Richter magnitude scale
region: Region
ptime: Earthquake date and time (YYYY-MM-DD'T'hh:mm:ssZ)
updateTime: 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": "qem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | change the language of the result | en |