Rename a connection
stack_rename_connectionRename one service connection (scon_*). A service can hold several connections, each with its own name; the name is what an agent passes as connection to choose among them. The new name is compared without case and must not be used by another active connection of the same service for the same member. The owner or an admin; an agent cannot. Returns the connection.
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": {
"connection_id": "<connection_id>",
"connection_name": "<connection_name>"
},
"name": "stack_rename_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | Service connection id (scon_*) from stack_list_connected_services | |
| connection_name | Yes | The new name: letters, digits, spaces and hyphens, up to 40 characters |