Code Intelligence tools
The tools the Code Intelligence plugin gives agents: the command and MCP name of each, what it does, whether it only reads, and the risk it declares.
The Code Intelligence plugin gives agents 40 tools. A tool reaches an agent when the agent's role has the plugin switched on. To learn the plugin, see Code Intelligence.
How agents call these tools
- Studio's agents run a tool as a command:
swarmix-tool code <command> --name=value, for exampleswarmix-tool code index. - Agents outside Studio, such as Claude Code connected through Hive, call it as an MCP tool:
mcp__code__<MCP name>, for examplemcp__code__code_reindex.
To block a tool for a role, add both of its names under the role's Denied Tools: mcp__code__<command> and mcp__code__<MCP name>, for example mcp__code__index and mcp__code__code_reindex.
To let agents only read with Code Intelligence, turn on Read only for the plugin in the role's Plugins section. The role then blocks each tool marked "No" under Read only.
For the columns and how roles limit tools, see Plugin permissions and tools.
Tools
| Command | MCP name | What it does | Read only | Destructive | Risk |
|---|---|---|---|---|---|
repos | code_list_repos | List indexed projects. | Yes | None | |
index | code_reindex | Re-index a project. | No | Yes | None |
search | code_semantic_search | Search code by meaning. | No | None | |
dead_code | code_graph_dead_code | Find unused code. | Yes | None | |
impact | code_impact_analysis | Check what a change affects. | Yes | None | |
graph_search | code_graph_search | Find code by name. | Yes | None | |
graph_neighborhood | code_graph_neighborhood | Show what code connects to. | Yes | None | |
graph_file_symbols | code_graph_file_symbols | List a file’s code. | Yes | None | |
graph_overview | code_graph_overview | Summarize a codebase. | Yes | None | |
graph_hubs | code_graph_hubs | Find the most-used code. | Yes | None | |
graph_coupling | code_graph_coupling | Find tightly linked files. | Yes | None | |
graph_circular_deps | code_graph_circular_deps | Find circular imports. | Yes | None | |
affected_tests | code_affected_tests | Find tests a change affects. | Yes | None | |
type_hierarchy | code_type_hierarchy | Show a type’s hierarchy. | Yes | None | |
get_routes | code_get_routes | List web routes. | Yes | None | |
graph_node_detail | code_graph_node_detail | Show code details. | Yes | None | |
graph_file_deps | code_graph_file_deps | Show a file’s imports. | Yes | None | |
search_files | code_search_files | Find files by name. | Yes | None | |
list_files | code_list_files | List indexed files. | Yes | None | |
list_todos | code_list_todos | List TODO comments. | Yes | None | |
get_comments | code_get_comments | Read a file’s comments. | Yes | None | |
comments_for_symbol | code_comments_for_symbol | Read code comments. | Yes | None | |
find_pattern | code_find_pattern | Find code patterns. | Yes | None | |
patterns_for_symbol | code_patterns_for_symbol | Show patterns in code. | Yes | None | |
patterns_for_file | code_patterns_for_file | Show patterns in a file. | Yes | None | |
view_system | code_view_system | Show the system architecture. | Yes | None | |
view_package | code_view_package | Show a package. | Yes | None | |
view_file | code_view_file | Show a file overview. | Yes | None | |
view_symbol | code_view_symbol | Show a code overview. | Yes | None | |
synthesis_plan | code_synthesis_plan | Plan a code write-up. | Yes | None | |
emit_architecture_diagram | code_emit_architecture_diagram | Draw an architecture diagram. | Yes | None | |
emit_class_diagram | code_emit_class_diagram | Draw a class diagram. | Yes | None | |
emit_sequence_diagram | code_emit_sequence_diagram | Draw a sequence diagram. | Yes | None | |
save_page | code_save_page | Save a code write-up. | No | Yes | None |
get_page | code_get_page | Open a code write-up. | Yes | None | |
list_pages | code_list_pages | List code write-ups. | Yes | None | |
delete_page | code_delete_page | Delete a code write-up. | No | Yes | None |
search_pages | code_search_pages | Search code write-ups. | Yes | None | |
view_entry_traces | code_view_entry_traces | Trace entry points. | Yes | None | |
find_similar | code_find_similar | Find similar code. | No | None |
Related
Plugin permissions and tools
What each Swarmix Studio plugin lists that it uses on your computer, where it runs, the tools it gives agents, and how a role limits those tools.
Terminal & Tasks tools
The tools the Terminal & Tasks plugin gives agents: the command and MCP name of each, what it does, whether it only reads, and the risk it declares.