diff --git a/opencode.json b/opencode.json index d4d8a64..144a312 100644 --- a/opencode.json +++ b/opencode.json @@ -26,7 +26,147 @@ "python", "C:\\projects\\manual_slop\\scripts\\mcp_server.py" ], - "enabled": true + "enabled": true, + "tools": { + "read_file": { + "description": "Read the full UTF-8 content of a file within the allowed project paths" + }, + "list_directory": { + "description": "List files and subdirectories within an allowed directory" + }, + "search_files": { + "description": "Search for files matching a glob pattern within an allowed directory" + }, + "get_file_summary": { + "description": "Get a compact heuristic summary of a file without reading its full content" + }, + "get_file_slice": { + "description": "Read a specific line range from a file" + }, + "set_file_slice": { + "description": "Replace a specific line range in a file with new content" + }, + "edit_file": { + "description": "Replace exact string match in a file. Preserves indentation and line endings" + }, + "get_tree": { + "description": "Returns a directory structure up to a max depth" + }, + "get_git_diff": { + "description": "Returns the git diff for a file or directory" + }, + "py_get_skeleton": { + "description": "Get a skeleton view of a Python file with function signatures and docstrings" + }, + "py_get_code_outline": { + "description": "Get a hierarchical outline of a Python code file with line ranges" + }, + "py_get_definition": { + "description": "Get the full source code for a specific class, function, or method definition" + }, + "py_update_definition": { + "description": "Surgically replace the definition of a class or function in a Python file" + }, + "py_get_signature": { + "description": "Get only the signature part of a Python function or method" + }, + "py_set_signature": { + "description": "Surgically replace only the signature of a Python function or method" + }, + "py_get_class_summary": { + "description": "Get a summary of a Python class listing its methods and their signatures" + }, + "py_get_var_declaration": { + "description": "Get the assignment/declaration line for a variable" + }, + "py_set_var_declaration": { + "description": "Surgically replace a variable assignment/declaration" + }, + "py_get_imports": { + "description": "Parses a file's AST and returns a strict list of its dependencies" + }, + "py_check_syntax": { + "description": "Runs a quick syntax check on a Python file" + }, + "py_get_docstring": { + "description": "Extracts the docstring for a specific module, class, or function" + }, + "py_find_usages": { + "description": "Finds exact string matches of a symbol in a given file or directory" + }, + "py_get_hierarchy": { + "description": "Scans the project to find subclasses of a given class" + }, + "py_remove_def": { + "description": "Excises a specific class or function definition from a Python file using AST" + }, + "py_add_def": { + "description": "Inserts a new definition into a specific context (module level or class)" + }, + "py_move_def": { + "description": "Relocates a definition within a file or across different Python files" + }, + "py_region_wrap": { + "description": "Wraps a specified block of code in #region: Name and #endregion: Name tags" + }, + "ts_c_get_skeleton": { + "description": "Get a skeleton view of a C file" + }, + "ts_cpp_get_skeleton": { + "description": "Get a skeleton view of a C++ file" + }, + "ts_c_get_code_outline": { + "description": "Get a hierarchical outline of a C file with line ranges" + }, + "ts_cpp_get_code_outline": { + "description": "Get a hierarchical outline of a C++ file with line ranges" + }, + "ts_c_get_definition": { + "description": "Get the full source code for a specific function or struct in a C file" + }, + "ts_cpp_get_definition": { + "description": "Get the full source code for a specific class/function/method in a C++ file" + }, + "ts_c_get_signature": { + "description": "Get only the signature part of a C function" + }, + "ts_cpp_get_signature": { + "description": "Get only the signature part of a C++ function or method" + }, + "ts_c_update_definition": { + "description": "Surgically replace the definition of a function in a C file" + }, + "ts_cpp_update_definition": { + "description": "Surgically replace the definition of a class or function in a C++ file" + }, + "derive_code_path": { + "description": "Recursively traces the execution path of a specific function or method" + }, + "web_search": { + "description": "Search the web using DuckDuckGo" + }, + "fetch_url": { + "description": "Fetch the full text content of a URL (stripped of HTML tags)" + }, + "get_ui_performance": { + "description": "Get current UI performance metrics (FPS, Frame Time, CPU, Input Lag)" + }, + "bd_create": { + "description": "Create a new Bead in the active Beads repository" + }, + "bd_update": { + "description": "Update an existing Bead" + }, + "bd_list": { + "description": "List all Beads in the active Beads repository" + }, + "bd_ready": { + "description": "Check if the Beads repository is initialized in the current workspace" + }, + "run_powershell": { + "description": "Run a PowerShell script within the project base directory" + } + } } }, "agent": {