Audit structured data
audit_schemaParse and audit JSON-LD structured data against the rulebook's schema checks and return detailed results with rule IDs, fix hints, and the same work list as a keyed scan. Batched callers pass detail=failures to drop passing checks. Use when: You have a JSON-LD block to check on its own. Avoid when: You have a full HTML page (lint_html) or only a public URL (scan_url). Do not claim: A grade or a pass is not a citation. The check says the page matches the rulebook. Verify: Edit the JSON-LD and call audit_schema again. judge: engine — trust the pass/fail from the deterministic check (access, rendering, and mechanical structure). judge: agent — your agent re-reads the rule text and decides; the label comes from the deterministic judgeForCheck mapping, not an LLM on our side.
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": {
"jsonld": "<jsonld>"
},
"name": "audit_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Keyed callers only; a free scan already lists failures alone and ignores it. full (default): every check. failures: only failed and skipped checks plus the page and group grades, grade_basis and the do-not-claim guidance — use it for batched calls or when a full response would be truncated. | |
| jsonld | Yes | One or more JSON-LD blocks (JSON or JSON array), at most 2 MB. |