Skip to documentation
DMRealm / DevelopersHelp CenterOpen DMRealm ↗

API reference

discover_capabilities

Inspect read support without inventing a writable schema or external grant.

Internal only

External access unavailable. Examples are internal contracts or explicitly planned local simulations.

Reported fields

Input: realm_slug, length 1–80. Unknown fields are rejected. Actor identity comes from the trusted internal caller. The synthetic response below contains the actual current field names.

discover_capabilities inputInternal only · synthetic fixture
{
  "realm_slug": "ashvale"
}

discover_capabilities responseInternal only · synthetic fixture
{
  "exposure": "internal_only",
  "external_connection_permission": "unavailable",
  "approval_status": "not_applicable_read_only",
  "operations": [
    "discover_capabilities",
    "resolve_entity",
    "select_entity"
  ],
  "visible_entity_types": [
    "npc"
  ],
  "creation_schema": null,
  "mutation_support": "disabled",
  "unresolved_reference_operations": "unsupported",
  "aliases": "unsupported",
  "revision_is_write_precondition": false,
  "max_candidates": 100,
  "pagination": "offset_live_results"
}

How to read it

exposure is internal_only; external_connection_permission is unavailable; approval_status is not_applicable_read_only. mutation_support is disabled and creation_schema is null. Aliases and unresolved-reference operations are unsupported.

visible_entity_types reflects only accessible records, not types a caller may create. max_candidates is 100; pagination is offset_live_results. revision_is_write_precondition is false. This response registers no transport or tools.

Contract evidence and limitations

Inspected 2026-10-27: dmrealm-services/packages/common/dmrealm_common/agent_entities.py. Model: models/realms.py:RealmEntity. Synthetic fixtures; no real records.

Source SHA-256: f69d56787ed00673716e8de38020c1de687419cd97dc2d69dff08eac6e891df5

Accepted decisions: agent-entity-integration.md, Q1–Q11. Planned occurrence selectors and batches are conceptual. Local simulation tests cannot establish backend security or transaction guarantees.