Orrery.
← All Stars

public Star · 0.1.0

orrery/row-lookup

Exact typed row lookup in a named allowlisted public CSV dataset.

Use this when

  • You need one exact row by key from an allowlisted dataset
  • You want typed lookup evidence without scanning the whole file

Not for

  • Fuzzy search
  • Datasets outside the allowlist
  • Bulk exports

Inputs / Outputs

Inputs

NameTypeNotes
dataset required string
key required object origin/destination fields

Outputs

NameTypeNotes
row object
envelope signed-envelope

Example

{
  "method": "tools/call",
  "params": {
    "name": "lookup",
    "arguments": {
      "dataset": "flights-airport",
      "key": {
        "origin": "ABE",
        "destination": "ATL"
      }
    }
  }
}

Tools

lookup Look up one exact flight aggregate from an allowlisted dataset · schema
{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "enum": [
        "flights-airport"
      ],
      "default": "flights-airport"
    },
    "key": {
      "type": "object",
      "properties": {
        "origin": {
          "type": "string",
          "pattern": "^[A-Z]{3}$"
        },
        "destination": {
          "type": "string",
          "pattern": "^[A-Z]{3}$"
        }
      },
      "required": [
        "origin",
        "destination"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "dataset",
    "key"
  ],
  "additionalProperties": false
}

In constellations

No constellation references this Star yet.