从会话当前分支复制出新会话
piweb_fork_sessionDuplicate a session's current branch into a new independent session, leaving the original unchanged. Use it to start a separate line of work from any conversation point.
Instructions
把会话当前分支整体复制成一个新会话(等价于侧边栏的 Fork)。原会话不受影响。用来「从这条线另开一条道」。
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": {
"session": "<session>"
},
"name": "piweb_fork_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 顺手给新会话起个名字 | |
| session | Yes | 会话 id / 名称 |