Describe fields for AI
A custom role tells the AI assistant and AI agents what a column holds, in a sentence you write. Use
one when a column’s name doesn’t say it: a size column holding 43 is clear to a person and
ambiguous to a model. EU shoe size next to it settles it.
What a custom role changes
Section titled “What a custom role changes”- The AI assistant and AI agents on the MCP server read the column with your sentence beside it. In a long text, the assistant finds the part that answers the question.
- Semantic search also reads a custom role on a text column, once you regenerate the vectors: see Semantic search.
- Nothing else changes. Keyword ranking and the widget’s cards stay as they are, and saving a custom role never rebuilds the index.
Add a custom role
Section titled “Add a custom role”-
Open Search → Setup and pick the collection under Collection. Custom roles sits in the Fields card, between the roles and Searchable fields.
-
Click Add role and pick a column. A column that already holds a role, Unique ID included, isn’t listed.
-
Under Meaning, say what the column holds in one sentence.

Custom roles and Searchable fields close the Fields card -
Under Name, type the name AI should use for the column, if its own name won’t do. Left empty, the column’s name is used.
-
Click Save changes in the bar at the bottom of the page.
Limits
Section titled “Limits”| What | Limit or behaviour |
|---|---|
| Custom roles | 12 per collection. At 12, Add role gives way to 12 of 12. |
| Meaning | Up to 200 characters. A row without one isn’t saved: its field turns amber and says so. |
| Name | Up to 100 characters |
| Columns | Any column without a standard role |
| A column that’s a filter | Has one name. The Name here and the filter’s Name on the Filters card are the same field. Removing the custom role keeps the filter’s name. |
| Moving a row | Picking another column in the row’s Column moves the name and the meaning with it. |
| Set for you | Nothing is guessed. A WooCommerce store connected through the WordPress plugin starts with its short description as Summary; edit or remove it like any other. |
Check it worked
Section titled “Check it worked”Ask the AI assistant a question that only this column answers. Its answer should use the column’s values.
Set custom roles over the API
Section titled “Set custom roles over the API”For developers. fieldMeta on POST /v1/collections and PATCH /v1/collections/{id} sets custom
roles, and GET /v1/collections/{id} returns them. Each column takes a label (its Name) and a
description (its Meaning); a column with a description is a custom role.
PATCH /v1/collections/{id}Authorization: Bearer sq_your_api_key
{ "fieldMeta": { "size": { "label": "Size", "description": "EU shoe size" } } }| Rule | Behaviour |
|---|---|
PATCH | Merges into each column’s current entry. null removes a column’s entry; an empty string clears one key. |
| Column names | Each key names a column as fields[].name in GET /v1/collections/{id} lists it. An unknown column is a 400 naming fieldMeta. |
| Before import | Before the first import, any column name is accepted as the coming column. |
| Limits | The limits above. Past them, the request fails with 400. |
| MCP | The create_collection tool takes the same fieldMeta. |
Next: see what the assistant reads, or look up the standard roles.