lint_code
Lint generated TypeScript type guard code, report issues, and optionally apply automatic fixes.
Instructions
Helper to lint generated type guard code
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": {
"files": "<files>"
},
"name": "lint_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | Automatically fix linting issues | |
| files | Yes | Files to lint (typically generated type guard files) |