Validate return
validate_returnChecks return JSON before submission, verifying field shapes, line math, deposit and liability rules, header/EIN rules, and returns errors, warnings, computed totals, and XSD status.
Instructions
Check return JSON without submitting anything: input shape, line math recomputed from the inputs, deposit/liability checks, header and EIN rules. Returns valid, errors and warnings (each with a code, a JSON path, a message and a basis), computed totals, and xsd status. Read-only; stores nothing.
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": {
"formType": "<formType>",
"data": "<data>"
},
"name": "validate_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Return data as a JSON object using the field names shown by list_supported_forms. Unknown fields are rejected. Use fake values only: EINs start with 00 (e.g. 00-0000000), SSNs look like 000-00-0000. | |
| formType | Yes | Form to process: 941, 944, 4868, 7004, 941-X. Call list_supported_forms first to see each form's fields. 940, 945, 1120-S and 8868 are not available. |