listTextSearchConfigs

Return full-text search configurations for a schema with parser and the token-type-to-dictionary mapping.

read-onlyany connectionsweeps instancesweeps group

Synopsis

listTextSearchConfigs(schema)

Description

Return full-text search configurations for a schema with parser and the token-type-to-dictionary mapping.

Parameters

schema requiredstring

Also accepts connection, instance, group, described once under arguments every tool takes.

Output

Keyed by configuration name; each value is its parser and token mappings. An absent extension or a missing grant is reported as {error, hint} in place of the map.

Scope

A physical replica is byte-identical here, so asking each member of a replication group adds nothing.

Example mocked data

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "listTextSearchConfigs",
    "arguments": {
      "schema": "shop"
    }
  }
}

Result

{
  "product_search": {
    "parser": "pg_catalog.default",
    "description": "English stemming with unaccent.",
    "mappings": {
      "asciiword": [
        "unaccent",
        "english_stem"
      ]
    }
  }
}

Invented values on a fictional shop database, shaped by and checked against this tool's output schema. Real output is returned as structuredContent to clients that negotiate MCP 2025-06-18 or later.

See also

listCollations, listOperators, listOperatorClasses