get_file_diff
Retrieve a detailed diff comparing a local plugin file with its WordPress.org version.
Instructions
Get detailed diff for a specific file between local and WordPress.org plugin
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": {
"local_path": "<local_path>",
"wp_org_slug": "<wp_org_slug>",
"file_path": "<file_path>"
},
"name": "get_file_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | Path to local plugin directory | |
| wp_org_slug | Yes | WordPress.org plugin slug | |
| file_path | Yes | Relative path to the file to diff |