comfy_snapshot_workflow
Capture a point-in-time snapshot of a workflow, returning a unique ID, timestamp, and node count to preserve and track workflow versions.
Instructions
Create a snapshot of the current workflow state.
Args: workflow: The workflow dictionary to snapshot name: Optional name for the snapshot
Returns: JSON with snapshot id, name, timestamp, and node_count
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": {
"workflow": "<workflow>"
},
"name": "comfy_snapshot_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| workflow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |