Skip to main content

Module tools

Module tools 

Source
Expand description

Tools module for the Winx application.

This module hosts the individual MCP tool implementations (shell, file IO, image, context save). The live service that wires them to the MCP protocol is crate::server::WinxService.

Modules§

apply_patch
Revision-guarded, line-oriented file patches.
background_shell
Background shell session lifecycle and shared manager state.
bash_command
BashCommand facade and action dispatcher.
code_map
Implementation of the CodeMap tool: tree-sitter code navigation.
context_save
edit_files
Unified typed file-mutation engine.
file_write_or_edit
FileWriteOrEdit facade.
initialize
Implementation of the Initialize tool.
multi_file_edit
Implementation of the MultiFileEdit tool.
outline
Implementation of the Outline tool — a tree-sitter symbol map.
read_files
Implementation of the ReadFiles tool.
read_image
Bounded native-image delivery for multimodal MCP clients.
references
Implementation of the FindReferences tool — tree-sitter symbol occurrences.
undo_edit
Implementation of the UndoEdit tool.