Fetch To Local • AI Agent SDK
fetch_to_local: Fetch “remote_path“ out of the sandbox to a local path.
fetch_to_local
Async
Method
</div>
This is a method of the RemoteMediaResolver class in the protocols module.
Fetch `remote_path` out of the sandbox to a local path.
Returns the gateway-local filesystem path of the fetched copy, which the caller is expected to re-screen through the outbound-path guard before delivery.
Signature
async def fetch_to_local(remote_path: str) -> strParameters
ParamField
strNo description available.
Returns
ResponseField
strThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 3220