e3d_element_schema
Inspects an E3D element's legal child and owner types plus attribute metadata—names, data types, units, settable state, and optional value constraints—without running PML.
Instructions
Inspect the current E3D element's legal child/owner types and attribute metadata without executing PML. expected_type requires the resolved type to match; the only cross-type alias resolution supported is implicit TUBI from its shared BRAN/ELBO numeric DBREF. The result reports the resolved type. Reports supported attributes, SDK data types, unit categories, current settable state, and direct-editor permission. Empty attributes lists the SDK's attributes in pages; named attributes allow explicit probing, including pseudo-attributes. include_constraints=true additionally reads allowed values/descriptions, raw range boundaries and values-or-ranges optionality for 1 to 10 explicit attributes and an explicit refno. Range units and boundary encoding are unverified. Per-attribute output is capped at 100 values/boundaries and 1024 UTF-16 characters per text; SDK arrays are materialized before these output limits. Unsupported or unknown attributes are findings; read_errors indicate failed inspection. Readability/settable state and returned constraints do not prove that a particular value or create command will succeed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "e3d_element_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| refno | No | Element /NAME or =database/element; empty selects the current element. | |
| offset | No | ||
| attributes | No | Attribute names to inspect, e.g. POS, HEIG, OWNER. Empty lists native SDK attributes, sorted by name. | |
| expected_type | No | Optional required Design type ShortName, e.g. TUBI. Only implicit TUBI has cross-type resolution from a shared BRAN/ELBO numeric DBREF; other mismatches fail. | |
| include_constraints | No | Read native allowed values/ranges and optionality. Requires explicit refno and 1 to 10 distinct named attributes; false preserves ordinary schema reads. |