expert_consult
Escalate repo-specific coding problems to a ChatGPT expert via a structured briefing after local attempts fail.
Instructions
本地调查之后,把难题交给 ChatGPT 极高档。仅在本仓库已开通时可用(标记文件 .claude/expert-consult.json)。reason 必须是闭集之一。已有咨询在进行时不要重试。briefing 用英文填写,源码保持原样。
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": {
"reason": "<reason>",
"repo_root": "<repo_root>",
"question": "<question>",
"established": "<established>",
"excerpts": "<excerpts>",
"attempts": "<attempts>",
"desired_output": "<desired_output>"
},
"name": "expert_consult"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | 为什么这是专家级问题。follow-up 仅在本 MCP 进程已有会话时可用。 | |
| attempts | Yes | 已经尝试过的方案(英文)。 | |
| excerpts | Yes | 关键代码摘录,不要整文件粘贴。 | |
| question | Yes | 要专家回答的具体问题(英文)。 | |
| repo_root | Yes | 已开通仓库的 git 根绝对路径。 | |
| constraints | No | 硬性约束(英文,可选)。 | |
| established | Yes | 本地已确认的事实(英文)。 | |
| desired_output | Yes | 希望专家产出什么(英文)。 | |
| timeout_seconds | No | 等待专家回复的秒数。 |