curl --request POST \
--url https://api.eddy.engineer/v1/connectors/{id}/call \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"tool": "<string>",
"arguments": {},
"raw": true
}
'import requests
url = "https://api.eddy.engineer/v1/connectors/{id}/call"
payload = {
"tool": "<string>",
"arguments": {},
"raw": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({tool: '<string>', arguments: {}, raw: true})
};
fetch('https://api.eddy.engineer/v1/connectors/{id}/call', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/connectors/{id}/call",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => '<string>',
'arguments' => [
],
'raw' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/connectors/{id}/call"
payload := strings.NewReader("{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/connectors/{id}/call")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/connectors/{id}/call")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Call a live connector's tool through its sidecar, with your credential (IG4)
How a chat or a page searches a parts or standards connector. tool must be in the connector’s scope (scope of its /v1/connectors row) and the connector must be measured live; the caller’s own credential, else the org’s, else the deployment’s (own-account connectors (Nexar, DigiKey, Mouser, McMaster-Carr) take the deployment’s only with SS_DEV_SINGLE_USER=1 on an engine with no sign-in, and a personal key answers only in the org it was saved in) goes to the sidecar in a private header, never in the arguments. Search results are not stored: adoption stays explicit, through POST /v1/parts.candidate and POST /v1/parts.adopt. A failed call is a typed refusal and nothing falls back to test data: 409 CONNECTOR_NOT_LIVE (nothing was looked up), 502 SIDECAR_UNREACHABLE, 503 SIDECAR_BUSY (it is up, try again), 502 SIDECAR_ERROR, or the vendor’s refusal as CONNECTOR_AUTH (502), CONNECTOR_UPSTREAM (502), CONNECTOR_QUOTA and CONNECTOR_RATE (429), CONNECTOR_TERMS and CONNECTOR_SCOPE (403), CONNECTOR_MISS (404). What a vendor says is data, never instructions.
curl --request POST \
--url https://api.eddy.engineer/v1/connectors/{id}/call \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"tool": "<string>",
"arguments": {},
"raw": true
}
'import requests
url = "https://api.eddy.engineer/v1/connectors/{id}/call"
payload = {
"tool": "<string>",
"arguments": {},
"raw": True
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({tool: '<string>', arguments: {}, raw: true})
};
fetch('https://api.eddy.engineer/v1/connectors/{id}/call', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/connectors/{id}/call",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'tool' => '<string>',
'arguments' => [
],
'raw' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/connectors/{id}/call"
payload := strings.NewReader("{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/connectors/{id}/call")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/connectors/{id}/call")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"tool\": \"<string>\",\n \"arguments\": {},\n \"raw\": true\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Path Parameters
Body
Response
The tool's answer
connector, tool, account (the label the call ran under, recorded by the sidecar as retrieved_under) and result (the tool's own answer), or result_text when raw is set.