Oci layout integrity verify

oci-layout-integrity-verify · version 1.0.0 · Hashing & signatures · free, no key needed

Verify an in-memory OCI image layout, index, and reachable blob closure.

Use when you need to: verify an OCI image layout · audit in-memory OCI layout · check OCI layout blob closure.

Decide before calling

Read the versioned contract and the supported scope below. Reuse oci-layout-integrity-verify@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use oci-layout-integrity-verify@1.0.0 for verify an OCI image layout. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "oci_layout": {
    "image_layout_version": "1.0.0"
  },
  "index": "eyJzY2hlbWFWZXJzaW9uIjoyLCJtYW5pZmVzdHMiOltdfQ==",
  "blobs": []
}

Response:

{
  "result": {
    "valid": true,
    "reasons": [],
    "reachable": [],
    "orphaned": [],
    "standard": "OCI Image and Image Layout Specifications v1.1.1",
    "reference": "OCI Image Specification v1.1.1: Descriptor, Digests, Image Manifest, Image Index; OCI Image Layout Specification v1.1.1"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "oci-layout-integrity-verify",
  "version": "1.0.0",
  "input": {
    "oci_layout": {
      "image_layout_version": "1.0.0"
    },
    "index": "eyJzY2hlbWFWZXJzaW9uIjoyLCJtYW5pZmVzdHMiOltdfQ==",
    "blobs": []
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/oci-layout-integrity-verify/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"oci_layout":{"image_layout_version":"1.0.0"},"index":"eyJzY2hlbWFWZXJzaW9uIjoyLCJtYW5pZmVzdHMiOltdfQ==","blobs":[]}'

The machine-readable contract is at /v1/tools/oci-layout-integrity-verify/versions/1.0.0.

CLI

node cli.mjs run oci-layout-integrity-verify 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.