Detach a variable from a site
detach_variableStop exposing a variable to a site's Worker env. Takes effect on the site's next function deploy.
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": "<name>"
},
"name": "detach_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | variable name to detach | |
| slug | Yes | owned site slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |