Find nearby NYC public restrooms
find_restroomsFind NYC public restrooms near a given point or your current location, sorted by distance, with optional open-now filtering.
Instructions
Finds operational NYC public restrooms near a given point, sorted by distance ascending. latitude/longitude may both be omitted to search from your current location, detected automatically (precise on-device location if available, otherwise an approximate IP-based guess) - only used when that location is within New York City, otherwise this tool returns an error asking for explicit coordinates instead. Radius defaults to 800m and is clamped to a 5000m maximum. Set open_now to filter to restrooms currently open (restrooms with unparseable hours are kept, marked "unknown", rather than guessed at).
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": "find_restrooms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of restrooms to return, sorted by distance ascending. | |
| latitude | No | Latitude of the search center. Omit both latitude and longitude to search from your current location, detected automatically. | |
| open_now | No | When true, drop restrooms that are confidently closed right now. Restrooms with unparseable hours are kept and marked "unknown" rather than guessed at. | |
| longitude | No | Longitude of the search center. Omit both latitude and longitude to search from your current location, detected automatically. | |
| radius_meters | No | Search radius in meters. Defaults to 800; values above 5000 are clamped to 5000. |