Fork
forkCopies a session's conversation into a new session on the same worker so you can continue work from existing context without altering the original.
Instructions
Copy a session's conversation into a new session on the same worker.
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": "fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||