Prepare a database or key change
helix_prepare_admin_operationCheck a change to a database or its keys and return a one-time confirmation for exactly that change, valid for five minutes; helix_execute_admin_operation runs it. Preparing changes nothing.
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": {
"operation": "<operation>",
"target": "<target>",
"payload": "<payload>"
},
"name": "helix_prepare_admin_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | create_tenant: project:<id>. delete_tenant: tenant:<id>. The key operations: the database, cluster:<id> or tenant:<id>. | |
| payload | Yes | Operation payload object. create_tenant: {project_id (equal to the target project id), name, slug, optional cluster_id, optional plan_code}. delete_tenant: {}. create_database_key: {name, access (read_only or read_write)}. revoke_database_key: {key_id}. | |
| operation | Yes | create_tenant makes a database in a project, delete_tenant deletes one, and create_database_key and revoke_database_key manage a database's gateway keys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_at | Yes | ||
| payload_hash | Yes | ||
| confirmation_id | Yes | ||
| confirmation_token | Yes |