Call a connection's API
call_connectionCalls the HTTP API of a third party that the organization declared as a connection (its name and domain: list_connections), on its base address, within its rules and limits; while adds the authentication and keeps a record of the call.
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": "<connection>"
},
"name": "call_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body: an object (sent as JSON) or text. | |
| call | No | Id of a held call: its state and, once run, its result. | |
| path | No | Path at the provider, with its query string: /api/v1/slots?site=origines. | |
| type | No | Type of the body (Content-Type), if it is not JSON. | |
| method | No | HTTP method. | GET |
| connection | Yes | Connection name (list_connections). | |
| organization | No | The organization. |