ilia 4b9ffb5ddf docs: Update architecture and add new documentation for LLM and MCP
- Enhanced `ARCHITECTURE.md` with details on LLM models for work (Llama 3.1 70B Q4) and family agents (Phi-3 Mini 3.8B Q4).
- Introduced new documents:
  - `ASR_EVALUATION.md` for ASR engine evaluation and selection.
  - `HARDWARE.md` outlining hardware requirements and purchase plans.
  - `IMPLEMENTATION_GUIDE.md` for Milestone 2 implementation steps.
  - `LLM_CAPACITY.md` assessing VRAM and context window limits.
  - `LLM_MODEL_SURVEY.md` surveying open-weight LLM models.
  - `LLM_USAGE_AND_COSTS.md` detailing LLM usage and operational costs.
  - `MCP_ARCHITECTURE.md` describing the Model Context Protocol architecture.
  - `MCP_IMPLEMENTATION_SUMMARY.md` summarizing MCP implementation status.

These updates provide comprehensive guidance for the next phases of development and ensure clarity in project documentation.
2026-01-05 23:44:16 -05:00

44 lines
1.1 KiB
Python

"""
Echo Tool - Simple echo for testing.
"""
from tools.base import BaseTool
from typing import Any, Dict
class EchoTool(BaseTool):
"""Simple echo tool for testing MCP server."""
@property
def name(self) -> str:
return "echo"
@property
def description(self) -> str:
return "Echo back the input text. Useful for testing the MCP server."
def get_schema(self) -> Dict[str, Any]:
"""Get tool schema."""
return {
"name": self.name,
"description": self.description,
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to echo back"
}
},
"required": ["text"]
}
}
def execute(self, arguments: Dict[str, Any]) -> str:
"""Execute echo tool."""
text = arguments.get("text", "")
if not text:
raise ValueError("Missing required argument: text")
return f"Echo: {text}"