{
  "version": "act 1.0.17",
  "language_id": "systemverilog",
  "language_name": "SystemVerilog",
  "url": "https://act101.ai/docs/languages/systemverilog",
  "is_premium": false,
  "operations": [
    {
      "anchor": "op-callers",
      "name": "callers",
      "category": "Query",
      "description": "Find every call site of a function or method across the codebase. Use to understand who depends on a function before changing its signature. Requires LSP. Params: symbol (string) [, file (string)]"
    },
    {
      "anchor": "op-control-flow",
      "name": "control_flow",
      "category": "Query",
      "description": "Get a function's control flow \u2014 branches, loops, early returns, and basic blocks in execution order. Use to understand complex logic without reading the full implementation. Params: target (string), file (string)"
    },
    {
      "anchor": "op-definition",
      "name": "definition",
      "category": "Query",
      "description": "Jump to definition \u2014 find where a symbol is defined given a usage location. Uses abstract syntax trees by default, no LSP required. Params: symbol (string), file (string), line (u32), column (u32)"
    },
    {
      "anchor": "op-diagnostics",
      "name": "diagnostics",
      "category": "Query",
      "description": "Get compiler errors and warnings from the language server. Omit `file` for workspace-wide diagnostics. Pass a file path or directory path to scope results. Requires LSP."
    },
    {
      "anchor": "op-fix-auto",
      "name": "fix_auto",
      "category": "Query",
      "description": "Auto-fix all deterministic issues in a file, directory, or workspace \u2014 missing imports, unused imports, simple type errors. Runs multiple fix-revalidate cycles. Use after making changes to clean up automatically. Requires LSP. Params: none [, file (string), workspace_mode (bool), category (string), commit (bool), max_rounds (u32)]"
    },
    {
      "anchor": "op-get-type",
      "name": "get_type",
      "category": "Query",
      "description": "Get the compiler-inferred type of any expression at a position. Use to understand types without reading surrounding code. Requires LSP. Params: file (string), line (u32), column (u32)"
    },
    {
      "anchor": "op-graph",
      "name": "graph",
      "category": "Query",
      "description": "Build a dependency graph from a file \u2014 trace what it imports and what imports it, across multiple hops. Use to understand module relationships and change impact before refactoring. Params: file (string) [, depth (u32), direction (string), leaves (bool), order (string)]"
    },
    {
      "anchor": "op-import-organize",
      "name": "import_organize",
      "category": "Query",
      "description": "Organize, sort, and deduplicate imports in a file. Removes unused imports. Use after adding new code or moving symbols to clean up import blocks automatically. Params: file (string) [, preview (bool)]"
    },
    {
      "anchor": "op-interface",
      "name": "interface",
      "category": "Query",
      "description": "Get a symbol's public API \u2014 signatures, types, and docstrings without implementation bodies. Like skeleton but for a single symbol. Use to understand how to call something without reading its internals. Params: target (string), file (string) [, include_private (bool)]"
    },
    {
      "anchor": "op-mutations",
      "name": "mutations",
      "category": "Query",
      "description": "Identify side effects \u2014 what external state a function reads or writes (globals, file I/O, network, etc.). Use to understand if a function is pure or has hidden dependencies. Params: target (string), file (string)"
    },
    {
      "anchor": "op-references",
      "name": "references",
      "category": "Query",
      "description": "Find every usage of a symbol across the entire codebase \u2014 all files, not just the current one. Use before renaming, refactoring, or deleting to understand full impact. Requires LSP. Params: symbol (string), file (string)"
    },
    {
      "anchor": "op-repo-outline",
      "name": "repo_outline",
      "category": "Query",
      "description": "Get a compressed overview of the entire repository in one call \u2014 file tree with languages, line counts, and optionally symbol names per file. Orders of magnitude cheaper than listing directories and reading files individually. Params: none [, path (string), depth (u32), include (glob), exclude (glob), symbols (bool), max_files (u32), relative (bool)]"
    },
    {
      "anchor": "op-skeleton",
      "name": "skeleton",
      "category": "Query",
      "description": "Get a file's structure \u2014 function signatures, class declarations, type definitions \u2014 without implementation bodies. Use INSTEAD of reading the full file to understand its API. Typically 5-10x fewer tokens than reading the raw file. Params: file (string)"
    },
    {
      "anchor": "op-symbols",
      "name": "symbols",
      "category": "Query",
      "description": "List all symbols (functions, classes, variables, types, constants) defined in a file with their locations and kinds. Use INSTEAD of reading a file when you need to know what's defined in it. Much cheaper than reading the full file. IMPORTANT: file must be a path to a single source file \u2014 never a directory or empty string. Params: file (string)"
    },
    {
      "anchor": "op-symbols-batch",
      "name": "symbols_batch",
      "category": "Query",
      "description": "Retrieve symbols from multiple files in a single call. Use instead of calling symbols() in a loop \u2014 one request instead of N. Params: none [, files (string[]), ids (string[]), kinds (string[])] \u2014 provide files or ids"
    },
    {
      "anchor": "op-add-access-modifier",
      "name": "add-access-modifier",
      "category": "Refactor",
      "description": "Add public/protected/local access modifier to class member"
    },
    {
      "anchor": "op-add-braces",
      "name": "add-braces",
      "category": "Refactor",
      "description": "Add begin/end braces to single-statement control-flow body"
    },
    {
      "anchor": "op-add-parameter-default",
      "name": "add-parameter-default",
      "category": "Refactor",
      "description": "Add default value to module parameter"
    },
    {
      "anchor": "op-add-sensitivity-list",
      "name": "add-sensitivity-list",
      "category": "Refactor",
      "description": "Add missing signals to always block sensitivity list"
    },
    {
      "anchor": "op-change-access-modifier",
      "name": "change-access-modifier",
      "category": "Refactor",
      "description": "Change member access level (public to protected, etc.)"
    },
    {
      "anchor": "op-change-parameter-direction",
      "name": "change-parameter-direction",
      "category": "Refactor",
      "description": "Change port direction (input to output, etc.)"
    },
    {
      "anchor": "op-convert-always-to-always-comb",
      "name": "convert-always-to-always-comb",
      "category": "Refactor",
      "description": "Convert always @(*) to always_comb for combinational logic"
    },
    {
      "anchor": "op-convert-always-to-always-ff",
      "name": "convert-always-to-always-ff",
      "category": "Refactor",
      "description": "Convert always @(posedge) to always_ff for sequential logic"
    },
    {
      "anchor": "op-convert-bit-to-logic",
      "name": "convert-bit-to-logic",
      "category": "Refactor",
      "description": "Convert bit to logic for safety (preserve x/z values)"
    },
    {
      "anchor": "op-convert-blocking-to-nonblocking",
      "name": "convert-blocking-to-nonblocking",
      "category": "Refactor",
      "description": "Convert blocking (=) to nonblocking (<=) in sequential blocks"
    },
    {
      "anchor": "op-convert-case-to-if-else",
      "name": "convert-case-to-if-else",
      "category": "Refactor",
      "description": "Convert case statement to if-else chain"
    },
    {
      "anchor": "op-convert-comparison-operators",
      "name": "convert-comparison-operators",
      "category": "Refactor",
      "description": "Convert == / != to === / !== (4-valued logic) or vice versa"
    },
    {
      "anchor": "op-convert-enum-value-list",
      "name": "convert-enum-value-list",
      "category": "Refactor",
      "description": "Convert between scoped and unscoped enum member usage"
    },
    {
      "anchor": "op-convert-for-to-generate",
      "name": "convert-for-to-generate",
      "category": "Refactor",
      "description": "Convert procedural for loop to generate block"
    },
    {
      "anchor": "op-convert-generate-to-for",
      "name": "convert-generate-to-for",
      "category": "Refactor",
      "description": "Convert generate block back to procedural for loop"
    },
    {
      "anchor": "op-convert-if-else-to-case",
      "name": "convert-if-else-to-case",
      "category": "Refactor",
      "description": "Convert if-else chain to case statement"
    },
    {
      "anchor": "op-convert-logic-to-bit",
      "name": "convert-logic-to-bit",
      "category": "Refactor",
      "description": "Convert logic type to bit when x/z values are not needed"
    },
    {
      "anchor": "op-convert-nonblocking-to-blocking",
      "name": "convert-nonblocking-to-blocking",
      "category": "Refactor",
      "description": "Convert nonblocking (<=) to blocking (=) in combinational blocks"
    },
    {
      "anchor": "op-convert-parameter-to-localparam",
      "name": "convert-parameter-to-localparam",
      "category": "Refactor",
      "description": "Convert parameter to localparam if unused externally"
    },
    {
      "anchor": "op-convert-port-to-interface",
      "name": "convert-port-to-interface",
      "category": "Refactor",
      "description": "Convert prefixed ports into a single interface port"
    },
    {
      "anchor": "op-convert-ternary-to-if-else",
      "name": "convert-ternary-to-if-else",
      "category": "Refactor",
      "description": "Convert ternary conditional to if-else for clarity"
    },
    {
      "anchor": "op-convert-to-ternary",
      "name": "convert-to-ternary",
      "category": "Refactor",
      "description": "Convert if-else expression to ternary conditional (?:)"
    },
    {
      "anchor": "op-extract-function",
      "name": "extract-function",
      "category": "Refactor",
      "description": "Extract expression into new function with return type inference"
    },
    {
      "anchor": "op-extract-interface",
      "name": "extract-interface",
      "category": "Refactor",
      "description": "Extract selected ports into a new interface definition"
    },
    {
      "anchor": "op-extract-local-variable",
      "name": "extract-local-variable",
      "category": "Refactor",
      "description": "Extract an expression into a local variable declaration"
    },
    {
      "anchor": "op-extract-modport",
      "name": "extract-modport",
      "category": "Refactor",
      "description": "Group signals from an interface into a new modport definition"
    },
    {
      "anchor": "op-extract-module",
      "name": "extract-module",
      "category": "Refactor",
      "description": "Extract module hierarchy into separate file"
    },
    {
      "anchor": "op-extract-parameter",
      "name": "extract-parameter",
      "category": "Refactor",
      "description": "Extract magic values into module/class parameters"
    },
    {
      "anchor": "op-extract-task",
      "name": "extract-task",
      "category": "Refactor",
      "description": "Extract code block into new task with parameter inference"
    },
    {
      "anchor": "op-extract-function",
      "name": "extract_function",
      "category": "Refactor",
      "description": "Extract a code selection into a new function \u2014 automatically infers parameters, return types, and inserts the call site. Use instead of manually cutting/pasting code. Works without LSP; LSP improves type inference. Params: file (string), new_name (string), start_line (u32), start_column (u32), end_line (u32), end_column (u32) [, preview (bool)]"
    },
    {
      "anchor": "op-extract-variable",
      "name": "extract_variable",
      "category": "Refactor",
      "description": "Extract an expression into a named variable \u2014 inserts the declaration and replaces the expression with the variable name. Works without LSP. Params: file (string), new_name (string), start_line (u32), start_column (u32), end_line (u32), end_column (u32) [, preview (bool)]"
    },
    {
      "anchor": "op-fix-sensitivity-list",
      "name": "fix-sensitivity-list",
      "category": "Refactor",
      "description": "Rewrite sensitivity list to synthesizable always_comb/always_ff form"
    },
    {
      "anchor": "op-generate-always-comb",
      "name": "generate-always-comb",
      "category": "Refactor",
      "description": "Generate an always_comb block skeleton for combinational logic"
    },
    {
      "anchor": "op-generate-always-ff",
      "name": "generate-always-ff",
      "category": "Refactor",
      "description": "Generate an always_ff block skeleton with reset for sequential logic"
    },
    {
      "anchor": "op-generate-array-declaration",
      "name": "generate-array-declaration",
      "category": "Refactor",
      "description": "Generate an array declaration (fixed, dynamic, or associative)"
    },
    {
      "anchor": "op-generate-assertion",
      "name": "generate-assertion",
      "category": "Refactor",
      "description": "Generate a simple immediate assertion template"
    },
    {
      "anchor": "op-generate-bit-vector",
      "name": "generate-bit-vector",
      "category": "Refactor",
      "description": "Generate a logic or bit vector declaration with explicit width"
    },
    {
      "anchor": "op-generate-class",
      "name": "generate-class",
      "category": "Refactor",
      "description": "Generate class template with constructor"
    },
    {
      "anchor": "op-generate-clocking-block",
      "name": "generate-clocking-block",
      "category": "Refactor",
      "description": "Generate a clocking block for testbench synchronization"
    },
    {
      "anchor": "op-generate-comparison-operator",
      "name": "generate-comparison-operator",
      "category": "Refactor",
      "description": "Generate comparison methods (== and !=) for class"
    },
    {
      "anchor": "op-generate-concurrent-assertion",
      "name": "generate-concurrent-assertion",
      "category": "Refactor",
      "description": "Generate a concurrent assertion (assert property) template"
    },
    {
      "anchor": "op-generate-constraint",
      "name": "generate-constraint",
      "category": "Refactor",
      "description": "Generate a constraint block inside a class"
    },
    {
      "anchor": "op-generate-constructor",
      "name": "generate-constructor",
      "category": "Refactor",
      "description": "Generate a class constructor from member variables"
    },
    {
      "anchor": "op-generate-cover-point",
      "name": "generate-cover-point",
      "category": "Refactor",
      "description": "Generate a coverpoint inside an existing covergroup"
    },
    {
      "anchor": "op-generate-covergroup",
      "name": "generate-covergroup",
      "category": "Refactor",
      "description": "Generate a covergroup template with a clock"
    },
    {
      "anchor": "op-generate-function",
      "name": "generate-function",
      "category": "Refactor",
      "description": "Generate a function template with return type and parameters"
    },
    {
      "anchor": "op-generate-generate-block",
      "name": "generate-generate-block",
      "category": "Refactor",
      "description": "Generate a parameterized generate block (if/case/for)"
    },
    {
      "anchor": "op-generate-interface",
      "name": "generate-interface",
      "category": "Refactor",
      "description": "Generate an interface template with optional modports"
    },
    {
      "anchor": "op-generate-methods",
      "name": "generate-methods",
      "category": "Refactor",
      "description": "Generate stub methods from a list of method signatures"
    },
    {
      "anchor": "op-generate-modport",
      "name": "generate-modport",
      "category": "Refactor",
      "description": "Generate a modport definition inside an interface"
    },
    {
      "anchor": "op-generate-module",
      "name": "generate-module",
      "category": "Refactor",
      "description": "Generate new module template with ports"
    },
    {
      "anchor": "op-generate-port-connection",
      "name": "generate-port-connection",
      "category": "Refactor",
      "description": "Generate a complete port connection list for module instantiation"
    },
    {
      "anchor": "op-generate-randomization-methods",
      "name": "generate-randomization-methods",
      "category": "Refactor",
      "description": "Generate pre_randomize and post_randomize method stubs for a class"
    },
    {
      "anchor": "op-generate-reset-logic",
      "name": "generate-reset-logic",
      "category": "Refactor",
      "description": "Generate a reset sequence block for testbench or RTL"
    },
    {
      "anchor": "op-generate-task",
      "name": "generate-task",
      "category": "Refactor",
      "description": "Generate a task template with input/output parameters"
    },
    {
      "anchor": "op-generate-test-bench",
      "name": "generate-test-bench",
      "category": "Refactor",
      "description": "Generate testbench skeleton with clocking blocks"
    },
    {
      "anchor": "op-generate-test-module",
      "name": "generate-test-module",
      "category": "Refactor",
      "description": "Generate test module (UVM/custom) template"
    },
    {
      "anchor": "op-inline",
      "name": "inline",
      "category": "Refactor",
      "description": "Inline a variable, function, or method \u2014 replace every usage with its definition body, then remove the original. The inverse of extract. Works without LSP (single-file); LSP enables cross-file inlining. Params: file (string), symbol (string) [, line (u32), preview (bool)]"
    },
    {
      "anchor": "op-inline-variable",
      "name": "inline-variable",
      "category": "Refactor",
      "description": "Inline variable where used once"
    },
    {
      "anchor": "op-insert-body",
      "name": "insert_body",
      "category": "Refactor",
      "description": "Replace a function's implementation body with new code. AST-validated \u2014 rejects if the result has parse errors, so you can't accidentally break syntax. Use instead of manual text editing for function rewrites. Params: file (string), symbol (string), code (string) [, commit (bool)]"
    },
    {
      "anchor": "op-invert-conditional",
      "name": "invert-conditional",
      "category": "Refactor",
      "description": "Swap then/else branches of an if-else and negate the condition"
    },
    {
      "anchor": "op-invert-port-direction",
      "name": "invert-port-direction",
      "category": "Refactor",
      "description": "Swap input/output direction on a module port"
    },
    {
      "anchor": "op-move-symbol",
      "name": "move_symbol",
      "category": "Refactor",
      "description": "Move a function, class, or type to a different file and automatically update all imports across the codebase. Use instead of manually cut/paste + fixing imports. Works without LSP (single-file); LSP enables cross-file import updates. Params: file (string), symbol (string), destination (string) [, preview (bool)]"
    },
    {
      "anchor": "op-remove-braces",
      "name": "remove-braces",
      "category": "Refactor",
      "description": "Remove begin/end braces from single-statement control-flow body"
    },
    {
      "anchor": "op-rename",
      "name": "rename",
      "category": "Refactor",
      "description": "Rename a symbol and automatically update ALL references across the codebase. Safer and faster than find-and-replace \u2014 AST-aware, won't rename strings or comments. Works without LSP (single-file); LSP enables cross-file renames. Params: file (string), old_name (string), new_name (string) [, line (u32), column (u32), preview (bool)]"
    },
    {
      "anchor": "op-rename-class",
      "name": "rename-class",
      "category": "Refactor",
      "description": "Rename class declaration and all instantiations"
    },
    {
      "anchor": "op-rename-function",
      "name": "rename-function",
      "category": "Refactor",
      "description": "Rename function definition and all calls"
    },
    {
      "anchor": "op-rename-identifier",
      "name": "rename-identifier",
      "category": "Refactor",
      "description": "Rename variable, port, parameter, or signal across all references"
    },
    {
      "anchor": "op-rename-module",
      "name": "rename-module",
      "category": "Refactor",
      "description": "Rename module declaration and all instantiations"
    },
    {
      "anchor": "op-rename-port",
      "name": "rename-port",
      "category": "Refactor",
      "description": "Rename port and all internal/external references"
    },
    {
      "anchor": "op-rename-task",
      "name": "rename-task",
      "category": "Refactor",
      "description": "Rename task definition and all calls"
    },
    {
      "anchor": "op-simplify-boolean-expression",
      "name": "simplify-boolean-expression",
      "category": "Refactor",
      "description": "Remove trivially redundant boolean subexpressions"
    },
    {
      "anchor": "op-analyze-chokepoints",
      "name": "analyze_chokepoints",
      "category": "Analysis",
      "description": "Find files that act as critical bottlenecks \u2014 high betweenness centrality in the dependency graph (R4). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-clusters",
      "name": "analyze_clusters",
      "category": "Analysis",
      "description": "Identify tightly coupled groups of files using community detection. Use to discover natural module boundaries and understand which files change together. Params: none [, granularity (string), min_size (u32), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-cohesion",
      "name": "analyze_cohesion",
      "category": "Analysis",
      "description": "Measure intra-module cohesion for each file \u2014 ratio of internal to total symbol edges (H2). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-coupling",
      "name": "analyze_coupling",
      "category": "Analysis",
      "description": "Measure coupling per file \u2014 how many files depend on it (afferent) vs how many it depends on (efferent), plus instability and abstractness scores. Use to find the most critical/fragile files. Params: none [, granularity (string), sort (string), threshold (f64), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-cycle-risk",
      "name": "analyze_cycle_risk",
      "category": "Analysis",
      "description": "Score each circular dependency cycle by its external risk surface (R6 circular risk zones analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-cycles",
      "name": "analyze_cycles",
      "category": "Analysis",
      "description": "Find circular dependency chains in the codebase. Use to identify import cycles that cause build issues or indicate architecture problems. Params: none [, granularity (string), max_length (u32), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-dead-code",
      "name": "analyze_dead_code",
      "category": "Analysis",
      "description": "Find dead code \u2014 functions, classes, and types that are never referenced from any entry point. Use before cleanup to safely identify what can be deleted. Params: none [, entry (string[]), granularity (string), include_tests (bool), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-depth",
      "name": "analyze_depth",
      "category": "Analysis",
      "description": "Compute longest transitive dependency chain per file (S4 dependency depth analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-entry-points",
      "name": "analyze_entry_points",
      "category": "Analysis",
      "description": "Detect entry points: main functions, HTTP routes, CLI commands, event listeners, test files (S5). Params: none [, include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-export",
      "name": "analyze_export",
      "category": "Analysis",
      "description": "Export the full semantic graph (files, symbols, dependencies) in JSON, DOT (Graphviz), or CSV format. Use for visualization or external analysis. Params: none [, format (string), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-extraction",
      "name": "analyze_extraction",
      "category": "Analysis",
      "description": "Score clusters for service or package extraction viability (M2 extraction candidates analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-fan-balance",
      "name": "analyze_fan_balance",
      "category": "Analysis",
      "description": "Compute fan-in/fan-out imbalance for migration ordering guidance (M6 fan balance analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-features",
      "name": "analyze_features",
      "category": "Analysis",
      "description": "Inventory language-specific AST features used in the codebase \u2014 async, generics, decorators, etc. (M3). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-hotspots",
      "name": "analyze_hotspots",
      "category": "Analysis",
      "description": "Rank files by composite complexity score \u2014 max cyclomatic complexity, statement count, nesting depth (H1). Params: none [, top_n (u32), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-impact",
      "name": "analyze_impact",
      "category": "Analysis",
      "description": "Compute change impact for a target file \u2014 finds all files directly and transitively depending on it (R1). Params: target (string) [, max_depth (u32), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-inconsistencies",
      "name": "analyze_inconsistencies",
      "category": "Analysis",
      "description": "Detect inconsistent abstractions \u2014 sibling files in the same directory that diverge from the group's structural pattern (H5). Params: none [, include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-inheritance",
      "name": "analyze_inheritance",
      "category": "Analysis",
      "description": "Detect tangled inheritance \u2014 deep hierarchies (>N levels) and diamond inheritance (H6). Params: none [, include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-interface-bloat",
      "name": "analyze_interface_bloat",
      "category": "Analysis",
      "description": "Detect interface bloat \u2014 files where the public API is disproportionately large relative to implementation (H3). Params: none [, include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-interfaces",
      "name": "analyze_interfaces",
      "category": "Analysis",
      "description": "Map cross-module interfaces \u2014 symbols that cross directory-module boundaries, ranked by interface width (M4). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-layers",
      "name": "analyze_layers",
      "category": "Analysis",
      "description": "Detect architectural layers from directory names and find dependency direction violations (S1+S2). Params: none [, detect_only (bool), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-orphan-types",
      "name": "analyze_orphan_types",
      "category": "Analysis",
      "description": "Find type definitions used exclusively outside their defining directory (H4 orphan types analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-patterns",
      "name": "analyze_patterns",
      "category": "Analysis",
      "description": "Find code smells \u2014 god functions, deep nesting, high coupling, and other structural issues. Use to identify refactoring targets or assess code quality. Params: none [, tier (string), pattern (string), file (string), severity (string), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-platform-deps",
      "name": "analyze_platform_deps",
      "category": "Analysis",
      "description": "Detect platform-specific API usage by scanning imports (M5 platform dependencies analysis). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-readiness",
      "name": "analyze_readiness",
      "category": "Analysis",
      "description": "Compute migration readiness scores per file \u2014 composite of complexity, coupling, porting blockers (M1). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-roles",
      "name": "analyze_roles",
      "category": "Analysis",
      "description": "Classify files by architectural role: entry point, routing, business logic, data access, config, test, utility, types, generated (S3). Params: none [, include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-seams",
      "name": "analyze_seams",
      "category": "Analysis",
      "description": "Find the natural boundaries between file clusters \u2014 the narrowest points where groups of files communicate. Use to identify where to split modules or add API boundaries. Params: none [, min_cluster_size (u32), max_seam_width (u32), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-stability",
      "name": "analyze_stability",
      "category": "Analysis",
      "description": "Compute stability index (R2) and detect stable dependency violations (R3) \u2014 flags edges where stable modules depend on unstable ones. Params: none [, index_only (bool), include (string[]), exclude (string[])]."
    },
    {
      "anchor": "op-analyze-surface",
      "name": "analyze_surface",
      "category": "Analysis",
      "description": "Measure API surface area \u2014 count exposed functions, types, and complexity at a module boundary. Use to assess whether an API is too large or leaky. Params: none [, boundary (string), files (string), include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-test-gaps",
      "name": "analyze_test_gaps",
      "category": "Analysis",
      "description": "Detect source files with no or partial test coverage based on graph import analysis (R5). Params: none [, include (string[]), exclude (string[])]. Use include/exclude to restrict the scan scope (e.g. include=[\"crates\"], exclude=[\"corpus\"])."
    },
    {
      "anchor": "op-analyze-type-completeness",
      "name": "analyze_type_completeness",
      "category": "Analysis",
      "description": "Analyze type boundary completeness \u2014 detect 'any' types, untyped parameters, missing return types at exported function boundaries (M7). Params: none [, include (string[]), exclude (string[])]."
    }
  ]
}