ai_redline
Redline: explain changes between two versions — Compare two versions of a contract, policy, terms page or any document and get a reviewed redline. Offline sentence-level diff (modified / added / removed, word changes, deterministic flags for changed numbers, dates, negation and key legal terms like shall/may, liability, termination, fees), then Workers AI classifies each change (category, material/minor/cosmetic, who it favors, plain-English impact) and lists top concerns and questions to ask. Params: old=, new= (up to 15,000 chars each), optional context= (e.g. lease, SaaS terms) and perspective= (e.g. tenant). Includes a Markdown table. Not legal advice. Price: $0.01 USDC (Base, via x402).
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": {
"old": "<old>",
"new": "<new>"
},
"name": "ai_redline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | Tenant shall pay rent of $1,650 on the 1st of each month. Pets are not allowed. A late fee of 10% applies after 5 days. | |
| old | Yes | Tenant shall pay rent of $1,500 on the 1st of each month. Pets are allowed with approval. |