read_wins
Extract achievement data from wins.md files to populate CVs and resumes with project accomplishments and professional milestones.
Instructions
Read wins.md achievements file
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function that reads the 'wins.md' file from the repository path (REPO_PATH) and returns its content formatted as TextContent, or a message if the file does not exist.async def read_wins() -> list[TextContent]: """Read the wins.md file.""" wins_path = Path(REPO_PATH) / "wins.md" if not wins_path.exists(): return [TextContent(type="text", text="No wins.md found")] content = wins_path.read_text() return [TextContent(type="text", text=f"Achievements:\n\n{content}")]
- The tool schema definition in list_tools(), specifying the name, description, and empty input schema (no parameters required).name="read_wins", description="Read wins.md achievements file", inputSchema={ "type": "object", "properties": {} } ), Tool(
- src/cv_resume_builder_mcp/server.py:341-342 (registration)The registration/dispatch logic in the @app.call_tool() handler that calls the read_wins function when the tool name matches.elif name == "read_wins": return await read_wins()