Look Up DQL Ontology
dql_ontologyLook up Knowledge Graph entity types, fields, taxonomies, and enum values to confirm exact field paths and spellings before writing DQL queries, preventing ignored paths and zero-result guesses.
Instructions
Looks up the Knowledge Graph ontology: entity types, their fields, and taxonomy or enum values. Use before raw dql to confirm a field path exists and to get the exact spelling of a value (a guessed path is silently ignored, a guessed value returns zero). Results are ranked best match first. API docs: https://docs.diffbot.com/docs/ontology
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": {
"action": "<action>"
},
"name": "dql_ontology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Type or composite (fields), or taxonomy/enum name | |
| limit | No | Max results; total is always reported | |
| action | Yes | types and composites list entity types and nested object types; enums and taxonomies list value-set names; fields lists a type's or composite's fields (needs name); taxonomy or enum lists one value set (needs name); search matches names across everything (needs search) | |
| search | No | Case-insensitive regex filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||