Find Field
find_fieldLocate a UniFi API field by name across all endpoints, including discriminator variants, and return each occurrence's endpoint, dotted path, and schema section for schema drill-down.
Instructions
Locate a field by name across every endpoint, including inside discriminator variants.
Returns one line per occurrence: endpoint slug, dotted path, and which schema section it sits in (request body, parameters, or response). Common names appear hundreds of times; the reply is capped at 50 and states the true total and how many endpoints are involved, so a short list is never mistaken for a complete one. Paths from here can be passed straight to get_field_schema. A name that matches nothing returns close alternatives.
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": {
"field_name": "<field_name>"
},
"name": "find_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional — limit search to a specific endpoint. | |
| field_name | Yes | The field name to search for (case-insensitive). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |