Diff files
diff_filesUse this when the user wants to see how two text files differ, before or after a change.
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": "<left>",
"right": "<right>",
"device": "<device>"
},
"name": "diff_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes | Absolute path of the original file. | |
| right | Yes | Absolute path of the file to compare against it. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| context_lines | No | Lines of context around each change. Default 3, maximum 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional structured result data for follow-up reasoning and tool calls. | |
| text | Yes | Concise human-readable result of the tool call. |