- [JSON representation](https://developers.google.com/maps/ai/maps-experience-agent-tools/reference/rest/Shared.Types/SearchTextResponse.md.txt#SCHEMA_REPRESENTATION)

Response message for SearchText.

| JSON representation |
|---|
| ``` { "places": [ { object (`PlaceView`) } ], "summary": string, "contentToken": string } ``` |

| Fields ||
|---|---|
| `places[]` | ``object (`PlaceView`)`` Output only. The list of places that are mentioned in the summary. |
| `summary` | `string` Output only. A natural language summary of the search results. The summary may contain zero-based citations like "\[0\]", "\[1\]", "\[2\]" etc. These citations map to the corresponding places in the `places` field. |
| `contentToken` | `string` Output only. An encrypted token that encapsulates the search context and can be passed to Google Maps visual rendering services, SDKs, or the Maps Agentic UI Toolkit (A2UI) to display interactive UI components for the returned search results. |