diff_contract_versions
Compare baseline and counterparty contract drafts to isolate stealth numeric, percentage, date, obligation-flip, and hidden-Unicode changes.
Instructions
Runs Myers O(ND) paragraph alignment and inline token/CJK diff between baseline and counterparty contract drafts, isolating stealth numeric, percentage, date, obligation-flip, and hidden-Unicode mutations.
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": {
"baselineText": "<baselineText>",
"candidateText": "<candidateText>"
},
"name": "diff_contract_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baselineText | Yes | Agreed baseline contract, SLA, or policy text (v1). | |
| candidateText | Yes | Counterparty returned or updated draft text (v2) to compare against baseline. | |
| contractTitle | No | Optional human-readable document label included in the diff report. | |
| onlyChangedClauses | No | When true, omits unchanged clauses without spoofs from the returned rows array. |