TOOL API
get_ metadata_ schema
List declared metadata fields (names, types, descriptions) so you can build `metadata_filter` / `sort` / `aggregates` / `group_by` for `search_documents(mode="metadata")`, or a `metadata_filter` that narrows `mode="query"`. Call it only when the question filters by a typed attribute (year, status, category, …) or asks for counts / averages / extremes / distributions — not as a routine first step; ordinary discovery goes through `browse_documents()`. Call it WITHOUT `folder_id` first: one call returns the account-level fields plus every folder that declares its own, with folder ids — no need for `get_folder_structure()` beforehand. Pass a `folder_id` only to read one folder's effective schema (it falls back to the account-level one). Reuse the result for the rest of the conversation.
Call information
- Tool slug
- pageindex-mcp.get_metadata_schema
- Provider
- PageIndex
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
folder_idOptional folder ID. Omit it for an overview: the account-level fields plus every folder that declares its own (on a folder-scoped connection, omission returns the scoped folder's schema instead). Pass "root" for the account-level schema only. Pass a folder ID for the fields that apply to its documents: fields are declared on a top-level folder and shared by every folder in it, and a top-level folder that declares none uses the account-level fields.