record_conversation
Record user and AI conversation turns with role, content, and optional project labels to build persistent memory and context across AI coding sessions.
Instructions
记录用户与 AI 的对话内容
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": {
"role": "<role>",
"content": "<content>"
},
"name": "record_conversation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | 对话角色 | |
| content | Yes | 对话内容 | |
| project | No | 项目名称(可选) |