submit_audit
Audit bounded CSV against caller-supplied expected records with explicit grouping, exact source references, lineage and integrity checks. A completed audit can report mismatches or blocked parsing. Inspect result.status, comparison, ambiguities and unsupported rules. No factual verification or inferred transformations.
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": {
"csv_text": "<csv_text>",
"expected_records": "<expected_records>",
"request_key": "<request_key>"
},
"name": "submit_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Supports {kind: preserve_rows} or {kind: explicit_groups, groups: [{source_records: [1,2], concatenate: {column: separator}}]}. Source indexes are one-based and exclude the header. Invalid or unsupported rule options are findings with preserving fallback. No grouping is inferred. At most 8192 UTF-8 bytes. | |
| csv_text | Yes | At most 8192 UTF-8 bytes, 20 data records, 30 columns and 4096 UTF-8 bytes per cell. Exact strings are preserved. | |
| request_key | Yes | Stable idempotency key shared across CSV and audit. Reuse only with identical input for the same capability. | |
| requested_rules | No | Descriptive requests, each at most 200 UTF-8 bytes. Every entry is reported unsupported; these do not authorize extra transformations. | |
| source_metadata | No | Descriptive metadata only, each value at most 200 UTF-8 bytes. No URL fetching or encoding conversion. | |
| expected_records | Yes | Ordered expected records; field names and values are strings of at most 4096 UTF-8 bytes each. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||