http_act
Act on a custom connector (Custom API) — ops: call, request, import,
set_definition. Reads (the org's connectors, an action's input, the setup
link): http.
call: an action by name (operation,args)._accountis optional when only one of the org's custom connectors has this action. Arguments are checked against its input; an omitted one takes the connector's saved variable of the same name. Any verb.request: a raw call to the custom connector of this call (_accountwhen there are several), any verb (method,path,params,body) — for what no saved action describes. Its auth and constant headers are applied. Prefercallwhen an action exists.import(admin): turns an OpenAPI/Swagger JSON document into candidate actions WITHOUT saving them (source,url|document); review, then save withset_definition.set_definition(admin): saves the definition of the custom connector of this call (_account), reused by every member and session. Only the parts given change.operationsREPLACES the action list: eachname(snake_case),description,methodGET|POST|PUT|PATCH|DELETE,pathrelative with{param},input(JSON schema object), optionalin{arg: path|query|body}. Never a secret here: the key stays on the card.
dry_run=true (call, request) returns {method, path, query, body} without
sending it.
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": {
"op": "<op>"
},
"name": "http_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | call | request | import | set_definition. | |
| url | No | import, source=url only. | |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| args | No | call — its arguments, by name. | |
| body | No | request — JSON body. | |
| path | No | request — relative to the connector's base URL, starts with /, no query. | |
| label | No | set_definition — display name of the connector (e.g. "Acme Payroll"). | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| method | No | request — GET | POST | PUT | PATCH | DELETE. | |
| params | No | request — query parameters. | |
| source | No | import — doc_path (the card's doc route, same auth), url (a public JSON document, no auth sent) or inline (`document`). | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| dry_run | No | call, request — validate and preview, send nothing. | |
| headers | No | set_definition — constant NON-secret headers (e.g. an API version). | |
| _account | No | Compte à OPÉRER parmi : `Cal.com` (org), `Qonto` (org). `oto_identity(op='list')`. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| document | No | import, source=inline only — the OpenAPI JSON document. | |
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. | |
| operation | No | call — name of the action. | |
| variables | No | set_definition — saved values {name: {value, description}} that fill an action argument of the same name when the call omits it. | |
| operations | No | set_definition — the full action list (100 max); [] clears it. | |
| description | No | set_definition — what the tool is and what it holds, for the agent. | |
| logo_domain | No | set_definition — brand domain for the logo (e.g. acme.test). |