fields_get_definition
Retrieve a WordPress field group, post type, taxonomy, or options page definition by kind and key for a specific site.
Instructions
Get one definition by kind and key.
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": {
"site": "<site>",
"kind": "<kind>",
"key": "<key>"
},
"name": "fields_get_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Definition key (lowercase letters, digits, underscore), e.g. group_event or event | |
| kind | Yes | Definition kind: field groups, post types, taxonomies or options pages | |
| site | Yes | Site id (see list_sites) |