Build return XML
build_return_xmlValidates mock employment-tax or extension return data and converts it to illustrative MeF-style XML for offline e-file workflow testing; invalid input returns validation results without XML.
Instructions
Validate the return and convert it to illustrative MeF-style XML. The XML uses hand-modeled element names in a mock namespace and will not pass the real IRS schema. xsd.status is 'valid' or 'invalid' only if IRS XSDs are installed locally; 'not_available' means the XML was NOT schema-validated. Returns xml: null with the validation result if the input is invalid. Read-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": {
"formType": "<formType>",
"data": "<data>"
},
"name": "build_return_xml"
}
}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. |