describe_ci_class
Get field definitions, descriptions, and suggested relationships for any CMDB class to understand its schema before building queries. Works for all CI classes including inherited fields.
Instructions
Get field definitions, descriptions, and suggested relationships for a CMDB class.
Queries the sys_dictionary table for field metadata and cmdb_rel_type_suggest for relationship suggestions. Includes inherited fields from parent classes by walking the class hierarchy. Results are cached for 1 hour.
Use this tool to understand the schema of a CI class before building queries, or to check what fields and relationships are available.
Prerequisites: Use list_ci_classes to find available class names, or suggest_table to find the right class.
Args: class_name: The CMDB class name to describe (e.g. cmdb_ci_server, cmdb_ci_linux_server). summary: If True (default), return only field_count, mandatory_fields (names only), and suggested_relationships — much lighter for initial exploration. Set False to include the full fields list with all metadata.
Returns: JSON object with "class_name", "field_count", and either a summary or the full "fields" list, plus "suggested_relationships".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | ||
| summary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |