rewind_workflow_run
Rewind workflow run
Re-run a workflow run from an earlier step, using its current revision from get_workflow_run. Everything before that step is kept; everything from it on is set aside and run again. Allowed from any status, a finished run included — the steps you may name are recovery.rewind_step_ids. quote=true prices the rewind and changes nothing.
Scope
generation.write— Makes, edits, imports, shares and deletes media in the account.
Behaviour
- Writes
- Creates or changes items in the caller's own account.
- Can delete or overwrite
- Can delete, overwrite, cancel or withdraw something the caller already has, so a host should confirm it.
- Stays in the account
- Stays inside the caller's private Kuro account: any media provider it calls acts on Kuro's account, and the result is visible to no one else.
Inputs
run_idstring · requireduuid
step_idstring · requiredmatches ^[a-z][a-z0-9_]*$
revisioninteger · required≥ 0
quoteboolean · optional
Example call
A tools/call request with the required arguments only, each a placeholder read off the schema. Replace them before sending.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "rewind_workflow_run",
"arguments": {
"run_id": "00000000-0000-4000-8000-000000000000",
"step_id": "<step_id>",
"revision": 0
}
}
}Input schema
As the server sends it in tools/list.
{
"type": "object",
"properties": {
"run_id": {
"type": "string",
"format": "uuid"
},
"step_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$"
},
"revision": {
"type": "integer",
"minimum": 0
},
"quote": {
"type": "boolean"
}
},
"required": [
"run_id",
"step_id",
"revision"
],
"additionalProperties": false
}Related tools
- get_workflow_run
Read a workflow run, its recorded steps, generations, and current checkpoint.