# Settings search tools

[All tool areas](/docs/tools.md). Each tool acts within your access.

## Settings search

### search_settings

Find settings by everyday words ("how long are seats held at checkout", "refund limit", "privacy page"): the best matches, each with its value in effect at the level asked and where it comes from (the default, or the level that set it), as get_settings gives them. Pass the most specific ids you mean: a session; a product and a location; a product; a location; an entity; or nothing for the organization. Deterministic and free: no AI.

Reads · Members of an organization · Needs settings:read

#### Input

- `query` — string; required. What to look for, in everyday words: hold minutes, refund limit, privacy page minLength: 1; maxLength: 200
- `entityId` — string; optional. The entity's id, from get_setup
- `locationId` — string; optional. The location's id, from get_setup
- `productId` — string; optional. The product's id, from list_products
- `sessionId` — string; optional. The session's id, from list_sessions
- `limit` — integer; optional. The most results to return (default 5) minimum: 1; maximum: 20; default: 5

#### Output

- `level` — string; required. 
- `name` — string; required. 
- `results` — array; required. 
  - `results[]` — object; optional. 
    - `results[].key` — string; required. 
    - `results[].description` — string; required. 
    - `results[].help` — string or null; optional. Plain staff help in dashboard input units, or null when no help is provided. Optional in the schema, always sent.
    - `results[].value` — any value; required. 
    - `results[].source` — object; required. 
      - `results[].source.level` — string; required.  Allowed: "default", "organization", "entity", "location", "product", "productLocation", "session"
      - `results[].source.id` — string or null; required. 
      - `results[].source.locationId` — string; optional. 
    - `results[].overriddenHere` — boolean; required. 
    - `results[].canSetHere` — boolean; required. 
    - `results[].plan` — object; optional. For a setting that turns on a feature of some plans only: the feature, the lowest plan that includes it, and whether the organization's plan does. Turning it on is refused when it doesn't; turning it off never is. Given by get_settings and update_settings
      - `results[].plan.feature` — string; required. 
      - `results[].plan.requiredTier` — string; required.  Allowed: "starter", "growth", "scale"
      - `results[].plan.included` — boolean; required. 
    - `results[].label` — string; required. 
    - `results[].score` — number; required. How well it fits the words asked; higher is closer
