submit_mapping_review
Record reviewer decisions for pending mapping or test-failure packets—approve, reject, or override—using the exact subject hash and gate from pending reviews; stale packets are rejected.
Instructions
Record a reviewer's decisions for an observed mapping or test-failure packet.
Decisions: approve | reject | approve_with_override (override keys: canonical_field, transform,
pii_handling). Supply the exact subject_hash and gate returned by list_pending_reviews.
Stale packets are rejected. Certification must use certify_run. Reviewer principals only.
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": {
"run_id": "<run_id>",
"subject_hash": "<subject_hash>",
"gate": "<gate>",
"decisions": "<decisions>"
},
"name": "submit_mapping_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | ||
| run_id | Yes | ||
| comment | No | ||
| decisions | Yes | ||
| subject_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | ||
| run_id | Yes | ||
| reviewer | Yes | ||
| decisions | Yes | ||
| approval_id | Yes | ||
| next_action | Yes | ||
| subject_hash | Yes |