show_inspection
Returns an MCP App card for a restaurant name, or a map for a violation term in a city. Hosts that support MCP Apps render the card or map inline. The text result names the matches for hosts that only show text.
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": "show_inspection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City scope. Required for a violation map. | all |
| view | No | card, map, or auto. auto uses a card for a restaurant and a map for a violation search. | auto |
| limit | No | Maximum places to show (1-12). | |
| query | No | Restaurant name, or a violation word when violation is omitted. | |
| violation | No | Violation text to map, such as pest, roach, or dropping. |