compare
Compare two documents by retrieving matching passages and returning aligned unified diffs.
Instructions
Retrieve matching passages from two documents and return aligned unified diffs.
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": {
"left_document_id": "<left_document_id>",
"right_document_id": "<right_document_id>",
"query": "<query>"
},
"name": "compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| left_document_id | Yes | ||
| right_document_id | Yes |