| path | Paths to scan for duplicates (space-separated) | no | . |
| config | Path to .jscpd.json config file | no | "" |
| min-tokens | Minimum number of tokens to consider a duplicate | no | 50 |
| min-lines | Minimum number of lines to consider a duplicate | no | 5 |
| max-lines | Maximum lines per block to consider | no | "" |
| mode | Detection mode: mild, weak, or strict | no | mild |
| format | Comma-separated list of file extensions/formats to check | no | "" |
| ignore | Comma-separated glob patterns to ignore | no | "" |
| ignore-pattern | Comma-separated regex patterns to skip matching tokens | no | "" |
| reporters | Comma-separated list of reporters (console, json, xml, csv, html, markdown, badge, sarif, ai, xcode, console-full, threshold, silent) | no | console |
| output | Output directory for file reporters | no | report |
| threshold | Maximum duplication percentage before exit 1 | no | "" |
| blame | Enrich clones with git blame data | no | false |
| exit-code | Exit with code when duplicates found. Use 'true' for default code 1, or an integer like '2' for a custom code | no | "" |
| pattern | Glob pattern to find files to scan | no | "" |
| max-size | Skip files larger than SIZE (e.g. 100kb, 1mb) | no | "" |
| skip-local | Skip clones where both fragments are in the same directory | no | false |
| ignore-case | Ignore case of symbols (experimental) | no | false |
| follow-symlinks | Follow symbolic links | no | false |
| no-gitignore | Do not respect .gitignore files | no | false |
| absolute | Use absolute paths in reports | no | false |
| formats-exts | Custom format-to-extension mappings (e.g. javascript:es,es6;dart:dt) | no | "" |
| formats-names | Custom format-to-filename mappings (e.g. makefile:Makefile,GNUmakefile;docker:Dockerfile) | no | "" |
| version | Version of jscpd to install (default: latest) | no | latest |
| install-prefix | Installation directory for the cpd binary (default: /usr/local/bin on Linux/macOS, npm global bin on Windows) | no | "" |
| skip-install | Skip installation (use when jscpd/cpd is already installed) | no | false |
| extra-args | Additional arguments passed directly to cpd/jscpd | no | "" |
| upload-report | Upload the report directory as a workflow artifact | no | false |
| upload-sarif | Upload SARIF report to GitHub Code Scanning | no | true |