Update a connection
update_connectionChange a connection: sent fields replace, unsent survive. archived archives / restores (agents on an archived connection stop running). The key is changed only in Governance > Connections.
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": {
"ref": "<ref>"
},
"name": "update_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The connection to change. | |
| name | No | Display name. | |
| models | No | Upstream model names it offers (an agent connection: exactly one). | |
| status | No | active or disabled. | |
| billing | No | {customer_pays_provider: bool (default true = provider cost 0), input_usd_per_million, output_usd_per_million}. | |
| profile | No | Governance profile slug that checks every turn (REQUIRED for an agent connection). | |
| archived | No | Archive or restore. | |
| base_url | No | The OpenAI-compatible base URL (https, public), e.g. https://models.example.com/v1. | |
| residency | No | Where the endpoint runs. | |
| description | No | What the connection is for. | |
| capabilities | No | {tools, streaming, vision: bool, context_window: int}. | |
| default_model | No | The model used when none is named (default: the first). | |
| send_system_prompt | No | Agent connection: also send the platform agent's system prompt (default off). |