chat_thread_fork
Create alternative conversation branches by forking chat sessions at specific messages, preserving history while exploring different discussion paths.
Instructions
Fork a session at a specific message to explore an alternative branch of conversation. Creates a new session with all history up to and including the fork point. The original session is unchanged.
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": {
"sessionId": "<sessionId>",
"forkFromMessageId": "<forkFromMessageId>"
},
"name": "chat_thread_fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | UUID of the session to fork. | |
| forkFromMessageId | Yes | UUID of the message at which to fork. The new session will include this message and all prior messages. | |
| title | No | Title for the new forked session. Defaults to 'Fork of <original title>'. |