Preview a call to a connected system
Shows exactly what a call would send (method, full address, headers with the credential hidden, body) without sending it.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
Show me exactly what you would send to close ticket 4123 before you do it.
Your agent callsconnect_previewFree*
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"connection": "zendesk",
"method": "PUT",
"path": "/tickets/4123.json",
"body": {
"ticket": {
"status": "solved"
}
}
}Use it when
Before a change in a connected system, to show a person what will happen.
What it does
Exactly what connect_call would send, without sending it: the method, the full address with its query, the headers (the credential hidden) and the body. It runs every check a call does, so a refused call is refused here too. Show it to a person before a change. Free.
What comes back
connection; would_send: method, url, headers and body; sent: false. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
connectionRequired | string | The connection's name. 2 to 40 characters. |
methodRequired | string | One of: GET,POST,PUT,PATCH,DELETE. |
pathRequired | string | 1 to 500 characters. |
query | object | |
body | any | A JSON body for POST, PUT and PATCH. |
The call
Over MCP, call connect_preview on https://api.conecto.chat/mcp/connect. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/connect_preview \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"connection":"zendesk","method":"PUT","path":"/tickets/4123.json","body":{"ticket":{"status":"solved"}}}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No connection has that name. | connect_list shows them. |
not_allowed403 | The call is outside the connection's allowed calls. | Use an allowed call, or ask the owner to widen them. |
invalid_input400 | The method or path is not valid. | A path starts with / and holds no query. |
More Connections tools
All 6 tools- Connect a system
connect_addConnects one of the company's systems: its address, its credential (kept encrypted) and the calls it may make.Free - List connected systems
connect_listThe connected systems with their address, auth and allowed calls, and this month's call count.Free* - Call a connected system
connect_callSends one request to a connected system, inside its allowed calls, and returns its answer.$0.0003 when it answers within 10 seconds - Change a system's allowed calls
connect_set_rulesReplaces a connection's allowed calls; waits for the owner's approval by default.$0.001 a call - Remove a connection
connect_removeForgets a connected system and its credential; the system itself doesn't change.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md