create_service
Create a BunkerWeb service from a server name with optional unprefixed settings and a draft flag. Fails if the name is taken; changes are saved to the database and applied later by the scheduler.
Instructions
Create a service named by SERVER_NAME (first word becomes its ID) with optional unprefixed settings and a draft flag. Fails if the name or a server name is taken. Use update_service to change one. Saved to the database; the scheduler applies it later; this tool cannot confirm it is live.
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": {
"server_name": "<server_name>"
},
"name": "create_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_draft | No | Create as an unpublished draft | |
| variables | No | Unprefixed per-service setting names and values, e.g. {"USE_MODSECURITY": "yes"} | |
| server_name | Yes | Server name; its first word becomes the service ID |