Prop Drilling
get_prop_drillingDetect prop drilling by finding parameter names passed through chains of functions. Use limit or summary_only to control output.
Instructions
Detects parameter threading (prop drilling) by finding parameter names passed through chains of functions. Use limit/summary_only to control output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory to analyze; must be inside the allowed roots | |
| limit | No | Max parameters returned (default 20) | |
| max_depth | No | Max directory depth to descend (default unlimited) | |
| max_files | No | Stop after scanning this many files (default unlimited) | |
| extensions | No | Only scan these extensions, e.g. [".ts", ".py"] (default all supported) | |
| summary_only | No | Return summary totals without per-item details (default false) | |
| exclude_common | No | Exclude common parameter names like id, key, className (default false) | |
| include_hidden | No | Include dotfiles and dot-directories (default false) | |
| ignore_patterns | No | Extra gitignore-style patterns to exclude, relative to path | |
| min_occurrences | No | Minimum function occurrences to flag (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| _meta | No | ||
| summary | Yes | ||
| is_directory | Yes | ||
| threaded_parameters | Yes |