delete_file
Remove unwanted files from Replit workspaces to maintain clean project directories and free up storage space.
Instructions
Delete a file from a Replit workspace
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to delete | |
| replId | No | Optional repl ID (uses active repl if not specified) |