List custom connectors
list_connectorsThe outside services this site's pages can use (custom connectors), with their actions, whether the owner has saved the key, today's call count and the last error. Custom connectors: let a site's pages use an outside service that has an HTTPS API (the owner's CRM, a newsletter tool, a courier's rate API, their own back end).
set_connector declares the service and the few actions the pages may run. Pages can only run those actions, with the fields each one lists; they can not reach any other address.
The key for the service is saved by the owner in the dashboard (set_connector returns the link). Never ask the owner to paste a key, token or password into the chat, and never put one in a connector, a page or a file.
In a page: k.connect('', '', { field: value }) resolves to the values named in the action's "returns" (null when there are none), and rejects with an Error whose message can be shown. In React: window.k.connect(...).
Actions that only read (GET) run in previews too. Actions that change something are not sent in a draft preview (the call resolves to null and a notice says so); use test_connector to try them for real.
An action that takes what a visitor types must not ask for passwords, card numbers, OTP/TAC or PINs. The privacy notice (/privacy) names the outside service automatically.
For Komers store features (products, checkout, chat, leads) use the Komers tools, not a connector.
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": {
"site": "<site>"
},
"name": "list_connectors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site slug (e.g. "kopitiam-muar") or id |