Get a Foundry ontology
helix_foundry_get_ontologyGet one Foundry ontology: its current version, versions, loads and generations, and the workspace's document sets: those its current version was given (document_sets) and the rest (other_document_sets). The current version carries load_refusal (why create_load would refuse it) and document_reads (which of its sets its routes read); a listed version has neither, so read one with helix_foundry_get_version. A set with connector is that connection's, named " / ": its syncs write its documents (the newest max_documents at the source), and no action changes it. An API source's set is read with generate_ontology's event_sources mode extraction, never document_set_ids.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ontology_id": "<ontology_id>"
},
"name": "helix_foundry_get_ontology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ontology_id | Yes | Foundry ontology identifier. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace (a service key always does). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loads | Yes | ||
| ontology | Yes | ||
| versions | Yes | ||
| generations | Yes | ||
| content_trust | Yes | ||
| document_sets | Yes | ||
| current_version | No | ||
| other_document_sets | Yes |