list_workflow_slots
Read a frontend-format workflow file to list its agent-tweakable slots (prompt text, seed, step count, model name) with their current values. Get each slot's stable address to modify it later, without manually parsing JSON.
Instructions
List the agent-tweakable slots a frontend-format workflow exposes.
Wraps comfy workflow slots <path>. A "slot" is a parameter comfy-cli
surfaces as a stable ADDR (prompt text, seed, step count, model name)
plus its current value, so an agent can see what a template exposes
without hand-reading the JSON. Pass a slot's ADDR to
set_workflow_slot/vary_workflow to change it.
Subgraph-interior slots are addressed A/B.name (e.g. 115/75.strength
= input strength of node 75 inside subgraph instance 115),
alongside plain A.name for promoted proxy widgets — both come back in
address and are set the same way.
Slots are tweakable PARAMETERS only — Note/MarkdownNote text is not a
slot; use list_workflow_notes for that.
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_path": "<workflow_path>"
},
"name": "list_workflow_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_path | Yes |