validar_xml
Validate fiscal XML documents or tax-group XML against the official XSD, returning a valid status or the exact error location by line and column.
Instructions
Valida um XML contra o XSD oficial. subtipo="grupo" valida so os grupos de tributacao (como os de gerar_xml_grupo); "nota" valida o documento inteiro. Devolve "valido" ou o erro com linha e coluna.
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": {
"xml": "<xml>"
},
"name": "validar_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | ||
| tipo | No | nfe | |
| subtipo | No | grupo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |