record-fork
Records a fork event to track when a session is forked, capturing the query and result position for history and context preservation.
Instructions
Record a fork event for history tracking (internal tool, usually auto-called)
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_id": "<session_id>",
"query": "<query>"
},
"name": "record-fork"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID that was forked | |
| query | Yes | The query that led to this fork | |
| position | No | Result position (1-5 for displayed results, -1 for custom) |