Expand description
Common utilities for MCP tools
This module provides shared functionality used across different MCP tool implementations.
Traits§
- GitIris
Tool - Common trait for all Git-Iris MCP tools
Functions§
- apply_
custom_ instructions - Apply custom instructions to config if provided
- create_
text_ result - Creates a text result response for tool calls
- parse_
detail_ level - Parses a detail level string into the corresponding enum value
- resolve_
git_ repo - Resolves a Git repository from a
repo_path
parameter - validate_
repository_ parameter - Validates the repository parameter: must be non-empty, and if local, must exist and be a git repo