user-1
(User 1)
June 21, 2025, 3:18pm
1
This topic was automatically generated from Slack. You can find the original thread here .
Currently, Im looking to download a file obtained via a tool call, and this returns a file path. From the provided file path, how do I download the actual file onto the requesting machine?
user-1
(User 1)
June 21, 2025, 3:18pm
2
We’ve started rolling out the first part of this: Working with Files — Pipedream
user-1
(User 1)
June 21, 2025, 3:18pm
3
Are you using our SDK directly, or MCP?
user-1
(User 1)
June 21, 2025, 3:18pm
4
Im using the SDK directly
user-1
(User 1)
June 21, 2025, 3:18pm
5
Okay cool — check out those docs in that case and let me know if that makes sense.
user-1
(User 1)
June 21, 2025, 3:18pm
7
Following up on this one, I cant seem to get it work? Providing an empty stashId, true, or “NEW” doesnt seem to get it to return the exports it should be
user-1
(User 1)
June 21, 2025, 3:18pm
8
Im calling the .runAction method on the pipedream package
user-1
(User 1)
June 21, 2025, 3:18pm
10
What action? Is there anything that was already or is being written to /tmp?
user-1
(User 1)
June 21, 2025, 3:18pm
11
This is the google_drive-download-file action
user-1
(User 1)
June 21, 2025, 3:18pm
13
File Stash works specifically to sync the contents of /tmp, and I believe that action should be writing there, so I’d expect it to work in that case.
user-1
(User 1)
June 21, 2025, 3:18pm
14
Can you log the actual payload and the response and paste them both here?
user-1
(User 1)
June 21, 2025, 3:18pm
15
I can show you exactly what Im passing
user-1
(User 1)
June 21, 2025, 3:18pm
18
This is the options var right before it gets sent
user-1
(User 1)
June 21, 2025, 3:18pm
19
Ive also tested it with and without the filepath var
user-1
(User 1)
June 21, 2025, 3:18pm
20
Can you try adding a leading /tmp/ in the filePath prop input?