chat
Engage in multi-turn conversations to review code, analyze plans, or troubleshoot development issues within your working directory.
Instructions
与 Coding Plan 服务进行通用多轮对话,可用于代码审查、计划审查、问题分析等。 必选参数:PROMPT(任务指令)、cd(工作目录)。 可选参数:SESSION_ID(继续会话)、model(模型版本)、return_all_messages(返回完整历史)。
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": {
"PROMPT": "<PROMPT>",
"cd": "<cd>"
},
"name": "chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cd | Yes | ||
| model | No | Model version. Empty uses provider default model env. | |
| PROMPT | Yes | ||
| SESSION_ID | No | Resume the specified chat session. Empty string starts a new session. | |
| return_all_messages | No | Return the full message history for debugging. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |