Get bounded ontology context
Useontology__get_context to give an agent the smallest relevant part of a
published ontology without mixing draft or latest versions.
- Required inputs:
release_idandquery. - Optional inputs:
include,max_resources,max_depth,max_tokens,diagnostics,session_id, and Gateway’srationale. - Limits:
max_resourcesis 1–50,max_depthis 0–4, andmax_tokensis 1–32,000. - Effect: read only.
include accepts object_types, interface_types, link_types,
shared_property_types, and action_types. The response identifies the exact
release and manifest digest, explains why each resource was selected, and
reports its traversal depth and estimated token cost.
Check truncated before relying on the result. When it is true, follow the
returned refinement hints or request different bounds. The service searches
only resources visible to the caller, filters them to the selected release,
and expands typed dependencies within the requested limits.