pw-dump prints the entire PipeWire state as JSON, and the jq filter extracts just the node.name property of every Node object. This is the script-friendly way to enumerate audio devices. The same dump feeds any jq query for graph inspection.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.