Skip to content

objects.list

List the declarative objects of the repository's AI layer, optionally by kind or tag.

List the declarative objects of the repository's AI layer, optionally by kind or tag.

Exposure

Where this one definition is reachable. Absence is explicit: a surface not listed does not carry it.

surfaceas
MCPtool majordomus_list
HTTPGET /api/v1/objects operationId objects.list
command line

Schemas

The canonical input and output, from the Rust types; the MCP tool schema and the OpenAPI parameters and responses are derived from these.

input · ListInput

Filters; both optional.

propertytyperequireddescription
kind string | null no Only objects of this kind; the kinds present are listed by `repository.info`. A kind the repository does not have is an invalid input, not an empty answer. default null
tag string | null no Only objects whose metadata tags include this tag. default null
JSON Schema
{
  "additionalProperties": false,
  "description": "Filters; both optional.",
  "properties": {
    "kind": {
      "default": null,
      "description": "Only objects of this kind; the kinds present are listed by `repository.info`. A kind\nthe repository does not have is an invalid input, not an empty answer.",
      "type": [
        "string",
        "null"
      ]
    },
    "tag": {
      "default": null,
      "description": "Only objects whose metadata tags include this tag.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "title": "ListInput",
  "type": "object"
}

output · ObjectList

The answer of `objects.list`: the matching objects, summarised, in URI order.

propertytyperequireddescription
count integer yes How many objects matched.
objects array yes The objects, one summary each.
JSON Schema
{
  "$defs": {
    "ObjectSummary": {
      "description": "One object, summarised for a listing.",
      "properties": {
        "description": {
          "description": "The one-line description, when the kind holds one.",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "description": "The capability id, `<kind>.<identity>`.",
          "type": "string"
        },
        "identity": {
          "description": "The identity within the kind.",
          "type": "string"
        },
        "kind": {
          "description": "The kind the object was read as.",
          "type": "string"
        },
        "path": {
          "description": "Repository-relative source path.",
          "type": "string"
        },
        "title": {
          "description": "The title, when the kind's title rule found one.",
          "type": [
            "string",
            "null"
          ]
        },
        "uri": {
          "description": "`majordomus://<kind>/<identity>`.",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "id",
        "kind",
        "identity",
        "path"
      ],
      "type": "object"
    }
  },
  "description": "The answer of `objects.list`: the matching objects, summarised, in URI order.",
  "properties": {
    "count": {
      "description": "How many objects matched.",
      "format": "uint",
      "minimum": 0,
      "type": "integer"
    },
    "objects": {
      "description": "The objects, one summary each.",
      "items": {
        "$ref": "#/$defs/ObjectSummary"
      },
      "type": "array"
    }
  },
  "required": [
    "count",
    "objects"
  ],
  "title": "ObjectList",
  "type": "object"
}

Policies

benchmark
required — a target on every transport the exposure declares; the cases are the input type's
cache
disabled — every call runs the handler

Benchmark targets

Derived from the registry for this repository: one requirement per transport, and the cases the input type provides. The whole matrix is on the benchmarks page.

transportstatecasestargets
directcovered2all
first-kind
mcpcovered2all
first-kind
httpcovered2all
first-kind

Claims implemented beside it

Attached by the file that implements each claim; every one links to its page with the implementation and the test that proves it.

The moments this answers