Sigil documentation
ReferenceJSON-RPC

sigil_selectComputeProvider

Deterministically select a compute provider.

Method

sigil_selectComputeProvider is registered in the canonical JSON-RPC catalog. Use POST /rpc, Content-Type: application/json, JSON-RPC 2.0 and a caller-controlled request id. Node RPC profile, build feature and runtime activation checks still apply.

Deterministically select a compute provider.

Request binding

Source handler: rpc_compute::handle_select_compute_provider in sigil/node/sigil-node/src/rpc_compute.rs, line 495.

The handler directly reads these named fields: model_id, verification_tier. Additional typed parsing, aliases and nested validation are defined by its request types. Field presence alone does not establish optionality.

Parsing excerpt

These source excerpts show binding and validation; they are not runnable client code.

    let model_id = req.params.get("model_id").and_then(Value::as_str);

    let tier = req.params.get("verification_tier").and_then(Value::as_str);

Responses and failures

Check HTTP status, parse the JSON-RPC envelope, reject error, and require result on success. Preserve large base-unit integers without floating-point rounding. A catalog method does not bypass authentication, capability, policy or activation requirements.

On this page