read_cv
Read and display your current LaTeX-formatted CV/resume content for review and editing within the CV Resume Builder MCP server.
Instructions
Read current CV (LaTeX)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function that reads the cv.tex file from REPO_PATH and returns its content as TextContent. Handles case where file does not exist.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}")]
- src/cv_resume_builder_mcp/server.py:203-210 (registration)Tool registration in list_tools(), defining name, description, and empty input schema.Tool( name="read_cv", description="Read current CV (LaTeX)", inputSchema={ "type": "object", "properties": {} } ),
- src/cv_resume_builder_mcp/server.py:338-339 (registration)Dispatch in call_tool() that invokes the read_cv handler when the tool name matches.elif name == "read_cv": return await read_cv()
- Input schema definition for the read_cv tool (empty properties, no required inputs).inputSchema={ "type": "object", "properties": {} }