Look up a business's latest audit ID and report URL
get_business_latest_auditFind a registered business by businessId, domain, website URL, or company name (with optional city disambiguator), or list businesses needing backfill via genericOnly=true / categoryFilter, and return its latestAuditId, live shareable reportUrl (/r/), latestAudit summary, inFlightAudit if a re-run is queued/running, and optional audit history. Works when the business has 0, 1, or multiple audits. Requires an API key.
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": "get_business_latest_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional city filter to disambiguate businesses with the same domain or name | |
| name | No | Business name (case/punctuation/Ltd-insensitive, e.g. 'Capital Roofing Services') | |
| limit | No | Max businesses returned when genericOnly or categoryFilter is set (1–200, default 50) | |
| domain | No | Bare domain or homepage URL (e.g. 'probuildcontractsltd.com' or 'https://www.probuildcontractsltd.com') | |
| website | No | Alias for domain — homepage URL or bare domain | |
| businessId | No | Exact business ID (e.g. biz_...) | |
| genericOnly | No | List registered businesses still stored with a generic category (e.g. 'local business') or generic benchmark prompts | |
| categoryFilter | No | Optional exact category filter when listing businesses | |
| includeHistory | No | Include up to 20 recent audits for the business (default false) |