read_cv
Retrieve your current LaTeX-formatted CV for review or editing within the CV Resume Builder system.
Instructions
Read current CV (LaTeX)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'read_cv' tool. It reads the content of the 'cv.tex' file from the configured REPO_PATH and returns it as TextContent. If the file does not exist, returns an error message.async def read_cv() -> list[TextContent]: """Read the current CV file.""" cv_path = Path(REPO_PATH) / "cv.tex" if not cv_path.exists(): return [TextContent(type="text", text="CV file not found")] content = cv_path.read_text() return [TextContent(type="text", text=f"Current CV:\n\n{content}")]
- The tool schema definition in list_tools(), including name, description, and empty inputSchema (no parameters required).Tool( name="read_cv", description="Read current CV (LaTeX)", inputSchema={ "type": "object", "properties": {} } ),
- src/cv_resume_builder_mcp/server.py:338-339 (registration)The dispatch/registration in the call_tool() handler that routes calls to the read_cv function.elif name == "read_cv": return await read_cv()