echo
Repeat and return input text for testing or verification purposes within the MCP-CEP server environment.
Instructions
Repete o texto enviado.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texto | Yes |
Implementation Reference
- cep.py:6-9 (handler)The async handler function for the 'echo' tool, decorated with @mcp.tool(). It takes a string input 'texto' and returns it prefixed with 'Você disse: ', fulfilling the echo functionality.@mcp.tool() async def echo(texto: str) -> str: """Repete o texto enviado.""" return f"Você disse: {texto}"