JSON pick pointers

json-pick-pointers · version 1.0.0 · JSON & JSONL · free, no key needed

Pick cloned JSON values at explicit RFC 6901 pointers into a null-prototype map.

Use when you need to: json pick pointers · project json pointers · select json pointers.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "json": {
    "a": 1,
    "b": {
      "c": 2
    }
  },
  "pointers": [
    "/a",
    "/b/c"
  ]
}

Response:

{
  "result": {
    "values": {
      "/a": 1,
      "/b/c": 2
    }
  }
}

How to call it

MCP

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

{
  "id": "json-pick-pointers",
  "version": "1.0.0",
  "input": {
    "json": {
      "a": 1,
      "b": {
        "c": 2
      }
    },
    "pointers": [
      "/a",
      "/b/c"
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/json-pick-pointers/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"json":{"a":1,"b":{"c":2}},"pointers":["/a","/b/c"]}'

The machine-readable contract is at /v1/tools/json-pick-pointers/versions/1.0.0.

CLI

node cli.mjs run json-pick-pointers 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.