save_gap_analysis
Saves completed gap-analysis JSON after an analysis task finishes, storing match scores, skill gaps, resume fixes, and action plans for later career planning.
Instructions
保存差距分析结果。
何时调用:在 analyze_gaps 返回分析任务,LLM 完成分析后调用此工具保存结果。
Args: gap_json: 差距分析的 JSON 字符串
Schema(与 sop/resume_screening.yaml 的 output_schema 一致——以该 YAML 为唯一权威): { "match_score": 65, // 匹配度评分(0-100) "match_level": "partial_match", "start_level": "小厂", // 起点层级:大厂/中厂/小厂/暂不可入(路线图使用) "strengths": [ // 优势(对象数组) { "area": "前端开发", // 领域 "description": "1年经验", // 描述 "resume_highlight": "...", // 可选:简历怎么写 "interview_talk": "..." // 可选:面试怎么讲 } ], "resume_red_flags": [ // 简历负面信号(可选但强烈建议提供) { "signal": "代码主要 AI 生成", // 负面信号 "risk": "现场手撕代码站不住", // 风险说明 "evidence_fix": "补 2 个完整手写项目" // 补证据动作 } ], "resume_optimization": { // 简历过筛维度 "ats_keywords": ["Python", "Agent"], "missing_keywords": ["RAG"], "highlight_projects": [ {"project": "...", "how_to_package": "...", "quantified_result": "..."} ], "resume_tips": ["..."], "missing_experiences": [ {"experience": "...", "how_to_create": "..."} ] }, "interview_preparation": { // 面试通过维度 "must_prepare": [ {"topic": "...", "type": "八股|项目|场景", "priority": "high", "estimated_time": "...", "prepare_advice": "..."} ], "project_deep_dive": [ {"project": "...", "likely_questions": ["..."], "key_points": ["..."], "star_story": "S:... T:... A:... R:..."} ], "system_design_topics": [{"topic": "...", "framework": "..."}], "behavioral_questions": [{"question": "...", "story_template": "..."}], "study_plan": {"unit_1": ["..."], "unit_2": ["..."]} // 学习单元(不排时间,不用 week) }, "skill_gaps": [ // 技能差距(对象数组) { "skill": "TypeScript", "priority": "high", // high/medium/low "current_level": "无", "required_level": "熟练", // 注意:字段名是 required_level "is_hidden": false, // 可选:true 表示 JD 未写但实际考核 "how_to_improve": "...", "source": "BOSS直聘 JD" // 数据来源,必填 } ], "priority_actions": [ // 优先行动项(对象数组) {"action": "学习 TypeScript 基础", "timeline": "...", "impact": "...", "difficulty": "..."} ], "market_context": "..." // 市场背景(来自真实抓取数据汇总) }
硬校验:skill_gaps 非空时每项必须带非空 skill 与 source(来源真实), 缺失返回 INVALID_PARAM 且不写入档案;空 skill_gaps 允许保存。
内容建议(不阻断保存):skill_gaps 为空、red_flags 字段不完整、 AI 作者身份未在 red_flags 提及、未知字段——都会作为 advisories 返回并持久化, 由 LLM 与用户决定是否补充。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gap_json": "<gap_json>"
},
"name": "save_gap_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |