Remove the deployed function from a site
remove_functionRemove the deployed Worker function from a site (and all its routes, secrets, and cron triggers). Site falls back to static-only serving. Irreversible.
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": {
"slug": "<slug>"
},
"name": "remove_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | site slug whose function to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |