apply_insight
Applies LLM-generated career insight analysis to a user's profile, updating progress status, summary, and roadmap adjustments after an insight trigger.
Instructions
应用洞察分析结果到档案。
何时调用:在 trigger_insight 之后,LLM 分析完成后调用。
Args: insight_json: LLM 返回的洞察分析 JSON
Schema: { "trigger_type": "stage_audit", // 回传触发类型:stage_audit/event "status": "on_track", // 状态:on_track/behind/ahead/need_adjustment "summary": "进度正常", // 进度总结 "insights": [ // 洞察列表 "学习速度超预期", "可以加深难度" ], "adjustment_needed": false, // 是否需要调整 "adjustment_type": "auto", // 调整类型:auto/manual "adjustment_reason": "", // 调整原因 "changes": [ // 调整列表(产品不规划时间,无压缩时长类调整) { "type": "add_task", // 类型:add_task/remove_task/modify_task "task_id": "task_001", // 任务 ID(add_task 时省略) "details": { // 详情 "name": "新任务名" } } ], "user_message": "给用户的消息" }
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": {
"insight_json": "<insight_json>"
},
"name": "apply_insight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| insight_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |