pub async fn write( path: impl AsRef<Path>, contents: impl AsRef<[u8]>, ) -> ToolResult<()>
Writes content to a file.