Skip to content

Search Tools Area

BETA

Agent Gateway is in BETA, and we're continuing to expand its capabilities. Your feedback helps shape what we build next—reach out to us through Relewise Support.

The Search Tools Area lets you inspect Search rules and Search Indexes, and approve or disapprove existing rules. Use it to understand how searches are interpreted and results are modified. Creating, replacing, and deleting rules are outside this Area's scope.

Get Started covers connection and access setup. REST paths below are relative to the Dataset base URL.

Available Capabilities

Rules

For each collection below, use REST GET to list rules, GET with /{ruleId} appended to retrieve a rule, and PATCH with /{ruleId} appended to change approval. MCP provides the corresponding list, get, and approval tools.

Rule FamilyREST Collection PathMCP Tools
Stemming/search-tools/stemming-ruleslist_stemming_rules
get_stemming_rule
set_stemming_rule_approved
Redirect/search-tools/redirectslist_redirect_rules
get_redirect_rule
set_redirect_rule_approved
Search Term Modifier/search-tools/search-term-modifierslist_search_term_modifier_rules
get_search_term_modifier_rule
set_search_term_modifier_rule_approved
Decompounding/search-tools/decompounding-ruleslist_decompounding_rules
get_decompounding_rule
set_decompounding_rule_approved
Search Result Modifier/search-tools/search-result-modifierslist_search_result_modifier_rules
get_search_result_modifier_rule
set_search_result_modifier_rule_approved
Synonym/search-tools/synonymslist_synonym_rules
get_synonym_rule
set_synonym_rule_approved

Search Index Operations

CapabilityREST EndpointMCP Tool
List Search IndexesGET /search-tools/search-indexeslist_search_indexes
Get a Search IndexGET /search-tools/search-indexes/{searchIndexId}get_search_index

Inspect Rules

List rules to discover Rule IDs, optionally filtering by term or approval state. Lists support page-number pagination through REST and MCP. Retrieve a rule to inspect its complete conditions, actions, or other configuration.

Synonym lists also include complete definitions, so they can be used to inspect word relationships directly.

Change Rule Approval

Set isApproved to true to approve a rule for matching searches or false to remove approval. Approval changes can affect live searches while preserving the rule's definition and scope.

REST preserves approval if isApproved is omitted or null; MCP requires an explicit boolean value.

Inspect Search Indexes

List Search Indexes to discover their IDs, enabled state, default state, and rebuild state. Retrieve an index to inspect its languages and complete configuration. Use isDefault to identify the default index.

See Search Indexes for how index configuration affects searches.

Encoded Configuration

Search Index configuration (indexJson) and Search Result Modifier filters (filtersJson) are returned as JSON strings. Parse them to inspect the configuration and preserve Relewise $type metadata when storing or forwarding it. See Filters for filter meanings.

For complete inputs and response schemas, use the API reference or MCP tool discovery.

Don't know us? Don't worry - you can find more information about us, by visiting our main page www.relewise.com