validate_field_map
Validate a field mapping JSON file by comparing each source value against its ASM value, returning match counts, mismatches, and a summary message.
Instructions
Validate a field mapping file produced by a custom converter script.
Reads the JSON file at ``field_map_path`` and compares each entry's
``source_value`` against its ``asm_value`` using string equality (primary)
and numeric float equality (fallback). Returns a structured JSON result
with match counts, mismatches, and a summary message.
Args:
field_map_path: File path to the field mapping JSON file.
Returns:
JSON string with ``matched``, ``total``, ``mismatches``, and
``message`` keys on success, or an ``error`` key on failure.
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": {
"field_map_path": "<field_map_path>"
},
"name": "validate_field_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_map_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |