Exceptions - MCP Tool Specification
This document outlines the specification for tools within the Exceptions module that are intended to be integrated with the Model Context Protocol (MCP).
Current Status: No MCP Tools Defined
The Exceptions module provides the complete exception class hierarchy used throughout the Codomyrmex project as a foundation layer. It maintains a hierarchical structure rooted at CodomyrmexError, organized into categories including configuration (ConfigurationError, EnvironmentError, DependencyError), I/O (FileOperationError, DirectoryError), AI (AIProviderError, CodeGenerationError), analysis (StaticAnalysisError), execution (CodeExecutionError, SandboxError, ContainerError), git (GitOperationError), orchestration (OrchestrationError, WorkflowError), network (NetworkError, APIError, ValidationError), and numerous specialized domain exceptions. These classes are purely for programmatic error handling within the application lifecycle and are not suited for exposure as Model Context Protocol (MCP) tools.
MCP tools are typically designed for discrete, invocable actions or queries that an external agent (like an LLM) would trigger. The internal error hierarchy and exception handling mechanisms do not fit this paradigm.
No future MCP tool development is anticipated for this module as it serves strictly as a foundation-layer error classification system.
For details on how to use the exceptions within your Python code, please refer to the module's README.md and API_SPECIFICATION.md.
Navigation Links
- Parent: Project Overview
- Module Index: All Agents
- Documentation: Reference Guides
- Home: Root README