codeinterpreter.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Code
execute
code.execute
Execute code in the sandbox
Risk: write
Output
output_files full type
output_files full type
File
delete
file.delete
Delete a file from the sandbox
Risk: destructive
Output
download
file.download
Download a file from the sandbox
Risk: read
Output
list
file.list
List files in the sandbox
Risk: read
Output
files full type
files full type
upload
file.upload
Upload a file to the sandbox
Risk: write
Output