Tool tree
Community-powered flood monitoring and safe navigation for Delhi
Implementation
gradeNot graded
gradeNot graded
context_app_stateAction
FloodSafe state: city, auth, user profile, push notification permission
View tool JSON
{
"name": "context_app_state",
"kind": "act",
"impl": "imperative",
"description": "FloodSafe state: city, auth, user profile, push notification permission",
"inputSchema": {
"type": "object",
"properties": {}
}
}context_locationAnswer
GPS position and nearby flood hotspot proximity data
View tool JSON
{
"name": "context_location",
"kind": "answer",
"impl": "imperative",
"description": "GPS position and nearby flood hotspot proximity data",
"inputSchema": {
"type": "object",
"properties": {}
}
}search_locationsAnswer
Search locations via FloodSafe unified search API. Returns geocoded results.
View tool JSON
{
"name": "search_locations",
"kind": "answer",
"impl": "imperative",
"description": "Search locations via FloodSafe unified search API. Returns geocoded results.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"description": "Search query (min 2 chars)"
},
"city": {
"anyOf": [
{
"not": {}
},
{
"type": "string",
"enum": [
"delhi",
"bangalore",
"yogyakarta",
"singapore",
"indore"
]
}
],
"description": "City filter"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 20,
"default": 5,
"description": "Max results"
}
},
"required": [
"query"
]
}
}get_query_cacheAnswer
Inspect any TanStack Query cache entry. Use to verify data freshness or debug loading issues. Common keys: ["reports"], ["hotspots","<city>",false], ["unified-alerts","<city>","all"], ["floodhub-status","<city>"], ["gamification","badges","me"]
View tool JSON
{
"name": "get_query_cache",
"kind": "answer",
"impl": "imperative",
"description": "Inspect any TanStack Query cache entry. Use to verify data freshness or debug loading issues. Common keys: [\"reports\"], [\"hotspots\",\"<city>\",false], [\"unified-alerts\",\"<city>\",\"all\"], [\"floodhub-status\",\"<city>\"], [\"gamification\",\"badges\",\"me\"]",
"inputSchema": {
"type": "object",
"properties": {
"query_key": {
"type": "string",
"description": "TanStack Query key as JSON, e.g. '[\"reports\"]' or '[\"hotspots\",\"delhi\",false]'"
}
},
"required": [
"query_key"
]
}
}switch_cityAction
Switch FloodSafe active city. Changes map, alerts, hotspots, FloodHub data.
View tool JSON
{
"name": "switch_city",
"kind": "act",
"impl": "imperative",
"description": "Switch FloodSafe active city. Changes map, alerts, hotspots, FloodHub data.",
"inputSchema": {
"type": "object",
"properties": {
"city": {
"type": "string",
"enum": [
"delhi",
"bangalore",
"yogyakarta",
"singapore",
"indore"
],
"description": "Target city"
}
},
"required": [
"city"
]
}
}