Files
boss/docs/protocol-snapshots/codex-app-server/0.135.0-alpha.1/json-schema/v2/ThreadRollbackParams.json
2026-05-31 03:25:30 +08:00

20 lines
595 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ThreadRollbackParams",
"type": "object",
"required": [
"numTurns",
"threadId"
],
"properties": {
"numTurns": {
"description": "The number of turns to drop from the end of the thread. Must be >= 1.\n\nThis only modifies the thread's history and does not revert local file changes that have been made by the agent. Clients are responsible for reverting these changes.",
"type": "integer",
"format": "uint32",
"minimum": 0.0
},
"threadId": {
"type": "string"
}
}
}