Scan Single File
trust_scan_fileSecurity-scan a single file for invisible Unicode, dangerous patterns, and secrets.
Returns a severity-weighted score and per-finding detail (rule, severity, location). Read-only: the file is never modified.
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": {
"filepath": "<filepath>"
},
"name": "trust_scan_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | absolute path of the file to scan |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||