rcsb_list_pdb_search_attributes
List RCSB PDB search attribute paths, value types, and operators to find the exact attribute for your query.
Instructions
Discover the RCSB PDB Search schema: attribute paths, value types, and operators.
Call this FIRST when a request resolves to a clear attribute and value but you don't know
the exact path; pick the attribute here, then use it in rcsb_search_by_attribute (or as an
attributes entry on any rcsb_search_*).
Args: query: Optional case-insensitive keyword to filter the catalog. Matched as a LITERAL SUBSTRING against the attribute path and description, so pass ONE keyword ("resolution", "comp_id"), not a phrase — a multi-word query only matches where those exact words are adjacent in a description. Omit to return everything. schema: Which catalog — "structure" (~675 attrs: entry/entity/assembly/instance) or "chemical" (~57 attrs: chemical-component). See the server instructions for how to search chemical attributes.
Returns:
{count, match_mode, attributes, note?}. attributes holds {attribute, type, operators,
description} records — the RCSB/PDB attribute path (e.g.
"rcsb_entry_info.resolution_combined"), its value type (string/number/integer/date), the
operators it supports (exact_match, greater, range, exists, ...), and a human-readable
description. match_mode is "exact" (the query matched), "none" (nothing matched — read
note, the query shape is the usual cause), or "all" (query omitted, whole catalog).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| schema | No | structure |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||