audit_local_sources
Analyze downloaded ServiceNow sources locally without API calls to build a cross-reference graph, detect dead code, and generate an HTML audit report.
Instructions
Analyze downloaded sources locally (no API). Generates cross-ref graph, dead code, HTML report.
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": {
"source_root": "<source_root>"
},
"name": "audit_local_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_file | No | Path for the HTML report. Defaults to <source_root>/_audit_report.html | |
| source_root | Yes | download_app_sources output dir, under temp/<instance>/<scope>. |