codeprism_mcp_server/tools/
mod.rs

1//! MCP tool parameter types for CodePrism
2//!
3//! This module contains parameter type definitions for all MCP tools organized by category:
4//! - Core tools: Navigation, symbol analysis, and repository information
5//! - Search tools: Content search and pattern matching  
6//! - Analysis tools: Code complexity and quality analysis
7//! - Workflow tools: Code optimization and batch processing
8//!
9//! The actual tool implementations are methods on the CodePrismMcpServer struct.
10
11pub mod analysis;
12pub mod core;
13pub mod search;
14pub mod workflow;
15
16// Re-export parameter types for convenience
17pub use core::{
18    ExplainSymbolParams, FindDependenciesParams, FindReferencesParams, RepositoryStatsParams,
19    SearchSymbolsParams, TracePathParams,
20};
21
22/// Tool execution result metadata
23#[derive(Debug, Clone)]
24pub struct ToolMetadata {
25    /// Execution duration in milliseconds
26    pub duration_ms: u64,
27
28    /// Number of files processed (if applicable)
29    pub files_processed: Option<usize>,
30
31    /// Memory usage in bytes (if available)
32    pub memory_used_bytes: Option<usize>,
33}