set_service_env
Add, update, or remove a hosted service's environment variables; the service restarts with the new values and secrets are stored encrypted and not displayed again.
Instructions
Ortam değişkenlerini (API anahtarları, ayarlar) ekler / değiştirir / siler; servis yeni değerlerle yeniden başlar. Değerler şifreli saklanır ve bir daha GÖSTERİLMEZ. PORT, DATABASE_URL, REDIS_URL, DATA_DIR sistem tarafından verilir. Gizli değerleri koda ya da zip'e koyma — bu aracı kullan.
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": {
"serviceId": "<serviceId>"
},
"name": "set_service_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | ||
| unset | No | ||
| serviceId | Yes | Servis id (list_services / create_service yanıtındaki id) |