Write File • Rust AI Agent SDK

write_file: Write a file to the sandbox.

write_file

Async

Method

</div>

This is a method of the SandboxProtocol class in the sandbox module.

Write a file to the sandbox.

Signature

python
async def write_file(&self, path: &str, content: &[u8]) -> Result<bool>

Parameters

ParamField &str

No description available.

ParamField &[u8]

No description available.


Related Documentation