validate_file
Validate a single R or Quarto file to catch structure, style, security, and documentation issues, with optional filters for categories, severity, and finding count.
Instructions
Validate a single R or Quarto file. Optional filters narrow the returned findings; the summary always counts all findings.
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": {
"path": "<path>"
},
"name": "validate_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to validate | |
| categories | No | Only return findings in these categories (omit for all categories) | |
| maxFindings | No | Return at most this many findings after other filters (1-1000). The summary still counts all findings. | |
| minSeverity | No | Only return findings at least this severe (critical > important > recommended > info) |