Get Field Schema
get_field_schemaRetrieve a specific field's schema from a UniFi API endpoint without downloading the full schema. Use dotted paths to drill into nested fields and get only the subtree you need.
Instructions
Drill into a specific field's schema within an endpoint.
Instead of fetching the full 70KB endpoint schema, use this to get just the subtree you need. Paths from find_field output work directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Endpoint identifier (e.g. 'network/createnetwork'). | |
| field_path | Yes | Dotted path to the field, with discriminator variants in brackets. Examples: 'dhcpV4', 'management[GATEWAY].dhcpV4', 'management[GATEWAY].dhcpV4.gateway'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |