Rewind a market session
session_rewindRestore an open tradefloor session to a saved checkpoint by step, discard all later checkpoints, and return the session state. Fork first to keep later state.
Instructions
Put an open session back to a checkpoint it kept, by step, and drop every checkpoint after it. Checkpoints are kept at the open and at the end of every session_step call; session_state lists them, and a session keeps at most 64. To keep the later state as well, session_fork first. Returns the session as session_state does. Runs no market.
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>",
"step": "<step>"
},
"name": "session_rewind"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The step to return to, one of the session's checkpoints. | |
| session_id | Yes | A session id exactly as open_session or session_fork returned it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||