ConnectorTypeJSONRPC
class connector_types.connector_type_jsonrpc.ConnectorTypeJSONRPC(*args, **kwargs)
Base class: ConnectorTypeREST
JSON-RPC 2.0 client connector.
Reuses the REST connector's engine-side HTTP transport -- URL building, authentication (none / bearer / basic / secret-headers / OAuth2 grant), TLS, proxy, timeouts and the cancellation-aware send -- and layers JSON-RPC 2.0 request/response semantics on top.
execute POSTs a {"jsonrpc": "2.0", "method", "params", "id"} envelope
as application/json and parses the response envelope: the result
member is returned in the result output; a JSON-RPC error member ends
the connection with ENDED_ERROR while still returning the error object in the
error output. A notification (no id) expects no response body.
JSON-RPC 2.0 is MCP's transport, so this connector can also drive an MCP
server by composing the initialize / tools/list / tools/call
method calls from a flow (transport headers such as Accept or a session
id are set via the Headers input).
Parameters
| Name | Type | Description |
|---|---|---|
| **kwargs | ||
| *args |
Input Schema
-
schema_version = '2026-08-12'Type:
string -
authenticationType:
anyOfOptions: -
schemeThe scheme to use.
httpsconnections are encrypted with TLS/SSL and expose the TLS options.Type:
anyOfOptions: -
hostThe remote hostname or IP address.
Type:
string -
portType:
anyOfOptions: -
base_pathA part of the path. The full path will be
<base path>/<path>.Type:
string -
pathThe path of the JSON-RPC endpoint. The full path will be
<base path>/<path>.Type:
stringDefault:
/ -
queryWill be urlencoded automatically
Type:
arrayItems: -
fragmentThe fragment of the URI.
Type:
string -
methodThe JSON-RPC method name to call.
Type:
string -
paramsThe JSON-RPC
params-- a JSON array (positional) or object (named). Leave empty to omit the member entirely. -
notificationSend as a JSON-RPC notification: omit the
idmember and do not expect a response body (the server must not reply with a result or error).Type:
boolean -
request_idThe JSON-RPC request
id. Leave empty to auto-generate a unique id. Ignored when Notification is set.Type:
string -
headersAdditional headers to send with the request.
Type:
arrayItems: -
expected_status_codeHTTP status codes which are treated as a successful transport. Any other HTTP status code ends the connection with ENDED_ERROR before the JSON-RPC envelope is parsed.
Type:
arrayItems:Default:
[200, 201, 202, 204] -
total_timeoutTotal timeout for the request in seconds.
Type:
integerDefault:
30 -
connect_timeoutA timeout for connecting to a peer in seconds.
Type:
integerDefault:
30 -
read_timeoutA timeout for reading a portion of data from a peer in seconds.
Type:
integerDefault:
30 -
proxyUse a proxy to connect to the server.
Type:
objectProperties:Additional Properties:
False -
idempotentWhether re-running this connection from the start is safe (no duplicate side effects). Controls recovery after the connection between Cloudomation and the remote system is lost and later re-established (network glitch, workspace restart, ...): repeatable connections are left running to be reattached or re-run, others are cancelled. Leave unset to let the connector decide based on the operation.