file_name
(string, required): Name of the file to create
How to use it
file_name is exposed by the Code Sandbox MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the file_name tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL CODE SANDBOX MCP LISTINGOther tools in Code Sandbox MCP (14)
(array, required): List of command(s) to run in the sandboxed environment
that can be used with other tools to interact with this environment
Copy a single file to the sandboxed filesystem.
Copy a directory to the sandboxed filesystem.
(string, optional): Path to save the src directory in the sandbox environment
(string, optional): Path to save the file in the sandbox environment
(string, required): Contents to write to the file
(string, optional): Docker image to use as the base environment
(string, required): Path to a directory in the local file system
(string, required): Path to a file in the local file system
Execute commands in the sandboxed environment.
Initialize a new compute environment for code execution.
Stop and remove a running container sandbox.
Write a file to the sandboxed filesystem.