delete_project_script
Delete a Lua script from a repo project's sync/ or drafts/ folder, optionally archiving it first to preserve a backup.
Instructions
Delete a Lua script from a repo project's sync/ or drafts/ folder, optionally archiving it first.
Context: Repo project folders are local organization helpers. For active Roblox Code Sync, use directory project tools and sync_directory/connect_sync on the user folder.
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": {
"project_name": "<project_name>",
"file_name": "<file_name>"
},
"name": "delete_project_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync | No | ||
| archive | No | ||
| file_name | Yes | ||
| project_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||