{
  "version": "act 1.0.17",
  "language_id": "Tact",
  "language_name": "Tact",
  "url": "https://act101.ai/docs/languages/tact",
  "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"
    }
  ]
}