List gateways
list_gatewaysList gateways
Every gateway of the account, A to Z by name, with its kind, its default model and how many rules, questions and keys it has. A gateway is a named config a request runs through. A chat gateway (kind chat) routes the chat and messages calls your code sends: fallbacks between models, retries, a response cache, a rate limit, a time limit and the models allowed. A decision gateway (kind decision) is your own classifier: it keeps a decision model and the questions, so a call to the decisions endpoint sends only the text. Attach one to a key as its default (the update_key tool) or name it per request with the x-klinn-gateway header; the header wins, except on a key locked to its gateway. A key with a gateway of its own, or under an account default gateway with guardrails, is locked to it: a header naming another is a 403 gateway_locked.
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": "list_gateways"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||