discover_files
Finds TypeScript files for type guard generation by combining CLI inputs, config paths, and include/exclude patterns, so generators can target the correct source files.
Instructions
Helper to find TypeScript files for type guard generation
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cliFiles | No | Files specified via CLI for type guard generation | |
| configPath | No | Path to config file | |
| cliExcludes | No | Exclude patterns from CLI for type guard generation | |
| cliIncludes | No | Include patterns from CLI for type guard generation |