podsPods (custom content models) Abilities
Custom content models integration. Custom post types and taxonomies registered by a data-model plugin. Read-only diagnostic, definitions only.
manage_options 2Available Tools (2)
pods_list_modelsmanage_optionsList every content model registered through Pods: its name, label, the WordPress type it maps to (post_type, taxonomy, user, comment, media, or Pods' own table storage), whether it extends an existing core type, and how many fields and groups it defines. Returns model DEFINITIONS only - never the posts/terms or field values, which are read through the core post/term/meta tools. Read-only.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Optional filter by model type: post_type, taxonomy, user, comment, media, pod (Pods table storage), or settings. Omit to list all models."
}
}
}pods_get_modelmanage_optionsRead one Pods model's field schema by its name: the model's type and storage, plus every field with its name, label, field type, required and repeatable flags, and - for relationship fields - the related object TYPE and NAME (never the related rows themselves). Returns the schema DEFINITION only, not field values or content. Use the core post/term tools to read the model's content and the meta tools to read its field values. Read-only.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The Pod (model) name, e.g. \"book\" or \"event\". Get it from pods_list_models."
}
},
"required": [
"name"
]
}