Get Digital Compliance Audit
getDigitalComplianceAuditGet the compliance report for one chat bot: takes targetRef (required, from listDigitalComplianceAudits) and optional sector. Returns the same report as the voice compliance report (getComplianceReportByPhone), built from the latest run of each catalogue test against that bot, plus channel and targetRef. Use when: the user asks whether a chat bot is compliant or which compliance checks it fails. Read-only. Needs digital:read. Only your workspace's runs are read.
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": {
"targetRef": "<targetRef>"
},
"name": "getDigitalComplianceAudit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | No | Restrict the catalogue to tests applicable to this sector. | |
| targetRef | Yes | The target to report on, e.g. `acme/billing-bot`. A QUERY parameter rather than a path parameter because a targetRef contains slashes. An HTTP API path parameter matches one segment, and percent-encoding does not help — the gateway decodes `%2F` before routing, so the request arrives as several segments and matches no route. Voice's `{phoneNumber}` works only because E.164 has no slashes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | No | ||
| targetRef | No |