Configure a connection
update_connectionOne setting per call: method and pattern request a rule; lock: true ends the learning, the rules drawn from the observed calls apply, the rest is refused (both pending approval). caller, window and calls set a call limit, remove_limit removes it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | true: end the learning. | |
| read | No | A POST that only reads. | |
| calls | No | The number of calls allowed per window. | |
| caller | No | Who is limited (agent:<id>, group:finance, app:boutique/web…). | |
| method | No | HTTP method. | |
| reason | No | Why this rule, in one sentence. | |
| window | No | The window. | |
| pattern | No | Path, e.g. /api/v1/slots/*/close. | |
| connection | No | Connection name (list_connections). | |
| organization | No | The organization. | |
| remove_limit | No | The limit to remove (its id, list_connections { view: "limits" }). | |
| approve_each_call | No | true: each call waits for an approval. |