Vários arquivos de resultado
Some Tools return many File objects. Keep them as File objects until you actually need preview, download, or upload.
Loop through results
const result = await client.run("pdf-to-jpg", {
file: pdfFile,
options: { scale: 1.5 }
});
for (const file of result.files) {
console.log(file.name, file.type, file.size);
}Send all files to another application function
handleGeneratedFiles(result.files);
A multi-file result is not automatically the input contract of every next Tool. Check the next Tool's input.maxFiles before chaining.