Prepare service disconnection
prepare_service_disconnectionPrepare disconnecting one application environment from a managed service that keeps running for its other applications (step one of a disconnect). It records a review and returns what the application loses - the connection variables, DATABASE_URL or another protocol's names when this service gives them - that the shared credential is not revoked and how to make sure the application can no longer authenticate, which deployed workloads read the connection Secret (those Ankra attached roll on the next deploy, those wired by hand must be changed by a person), whether the namespace loses network access to the service, and that the application keeps working until it is deployed again. Nothing changes. When the service gives the conventional names and another service of the same kind is connected, the plan lists the choices and must be prepared again with connection_names_instance_id or connection_names_none before it can be confirmed. Requires applications.deploy, clusters.operate on the service's cluster and clusters.operate and clusters.read on the application's.
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": {
"instance_id": "<instance_id>",
"consumer_id": "<consumer_id>",
"expected_generation": "<expected_generation>",
"timing": "<timing>"
},
"name": "prepare_service_disconnection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timing | Yes | When the disconnection takes effect: after_next_deploy (the application keeps working until it is deployed again). now is refused while every application of the service shares one credential. | |
| consumer_id | Yes | The consumer to disconnect: its id (UUID) among the instance's consumers from get_service_instance. | |
| instance_id | Yes | Service instance id (UUID) from list_service_instances. | |
| expected_generation | Yes | The instance generation the user reviewed, from get_service_instance. | |
| keep_network_access | No | True keeps the application's namespace admitted on the service's client port; false (the default) takes it off once no pod reads the connection. | |
| connection_names_none | No | Only when the review asks for it: true when no service gives the application its conventional names from now on. | |
| connection_names_instance_id | No | Only when the review asks for it: the other connected service (UUID, from connection_names.choices) that gives the application its conventional names from now on. |