diff_local_component
Compare local files or directories against remote ServiceNow versions or a second local root. Optionally return only status and changed line counts.
Instructions
Diff local edits vs remote, or vs a 2nd root (compare_to); verdict=True for status-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local file, widget dir, or download root (file→diff, root→summary). | |
| verdict | No | Status-only: verdict + changed-line counts, no diff bodies; dirs scan all. | |
| compare_to | No | 2nd download root to diff against instead of remote (dev-vs-test, no network). | |
| context_lines | No | Number of context lines in unified diff output (default 3) |