correct_errata
Fix Korean/English keyboard input errors to ensure accurate text processing and search results. Ideal for correcting typos and improving query accuracy across Naver Search.
Instructions
Converts Korean/English keyboard input errors.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Implementation Reference
- server.py:518-526 (handler)The handler function implementing the 'correct_errata' tool logic, which makes an API call to Naver's errata endpoint to correct input errors.async def correct_errata(query: str) -> str: """ Converts Korean/English keyboard input errors. Args: query (str): The keyword to search for """ params = {"query": query} return await _make_api_call("errata.json", params, ErrataResult, "Errata Conversion")
- server.py:514-517 (registration)The @mcp.tool decorator that registers the 'correct_errata' tool with the MCP server.@mcp.tool( name="correct_errata", description="Converts Korean/English keyboard input errors." )
- server.py:112-112 (schema)Pydantic model for the output schema of the errata API response, containing the corrected term.class ErrataResult(BaseModel): errata: str