diff
Review cursor-agent's changes in a worktree, including new files, before bringing them into the repo. Shows a full diff or token-saving stat summary without modifying anything.
Instructions
Diff de lo que cursor-agent cambió en un worktree (incluye archivos nuevos). Usalo para REVISAR antes de bring_changes — no trae nada al repo, solo muestra.
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": {
"worktree_path": "<worktree_path>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Limitar el diff a estos paths (default: todo el worktree). | |
| stat_only | No | true = solo el resumen (archivos + líneas +/-), sin el diff completo. Más barato en tokens. | |
| worktree_path | Yes |