get_villages_in_district
Retrieve a list of villages within a specific district to obtain location codes for weather forecasting. This tool helps users identify precise areas for meteorological data access.
Instructions
Mendapatkan daftar semua kelurahan/desa dalam kecamatan tertentu dari database lokal.
Args:
district_code: Kode kecamatan (contoh: "33.02.07" untuk Sumpiuh)
Returns:
Daftar kelurahan/desa dengan kode lengkap yang siap digunakan untuk prakiraan cuaca.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"district_code": "<district_code>"
},
"name": "get_villages_in_district"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| district_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |