validate_masters
Bind 1-100 ledger names to a live TallyPrime catalogue and return exact, identifier, near-miss, or missing match states so only exact matches can be used for voucher import.
Instructions
Bind 1–100 nonblank ledger names (at most 1024 characters each) against the live catalogue. An identifier embedded in a master name is matched before the name itself. match_state is exact, identifier, near_miss or missing; folded names remain near_miss candidates because this catalogue has no qualified scope to bind them. Only exact is admitted by build_import_xml, and a bound row alone carries exact_live_spelling. A missing or near_miss row without folded_twins whose name is, character for character, an alias of exactly one live ledger also carries alias_of, that ledger's name as Tally lists it: the row is still not bound and no alias is ever sent, so replace the name with alias_of only after an operator confirms that ledger is the one meant. A near-miss is never resolved: it returns candidates with the rule that surfaced each, bounded to 25 names and 8192 UTF-8 bytes per requested name, with candidate_count, candidate_count_is_lower_bound and truncation reported. When candidate_count_is_lower_bound is true, the count is a conservative lower bound and must be shown as at least that many candidates. There is no ranking and no score. Each call appends metadata-only receipt lines (tool, company, counts, request and response fingerprints; no book content) to ComplyEaze Bridge's local log on this computer; it writes nothing to Tally.
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": {
"company_guid": "<company_guid>",
"ledgers": "<ledgers>"
},
"name": "validate_masters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledgers | Yes | 1 to 100 ledger names to bind against the live catalogue, each spelled as it will be written into a voucher. | |
| company_guid | Yes | The company's company_guid, as list_companies returns it. |