# Settings tools

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

## Settings

### get_settings

Get the settings in effect at one level, with where each value comes from (the default, or the level that set it) and whether it can be set there. Settings inherit organization → entity → location → product → product at a location → session, and the most specific wins. 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. Booking limits (capacity, party size, booking window, who each binds), visibility, hold length, buffers, and pricing guardrails are settings.

Reads · Members of an organization · Needs settings:read

#### Input

- `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

#### Output

- `level` — string; required. 
- `name` — string; required. 
- `settings` — array; required. 
  - `settings[]` — object; optional. 
    - `settings[].key` — string; required. 
    - `settings[].description` — string; required. 
    - `settings[].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.
    - `settings[].value` — any value; required. 
    - `settings[].source` — object; required. 
      - `settings[].source.level` — string; required.  Allowed: "default", "organization", "entity", "location", "product", "productLocation", "session"
      - `settings[].source.id` — string or null; required. 
      - `settings[].source.locationId` — string; optional. 
    - `settings[].overriddenHere` — boolean; required. 
    - `settings[].canSetHere` — boolean; required. 
    - `settings[].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
      - `settings[].plan.feature` — string; required. 
      - `settings[].plan.requiredTier` — string; required.  Allowed: "starter", "growth", "scale"
      - `settings[].plan.included` — boolean; required. 
- `policySummary` — object; required. The policies in effect here as guests read them (refundTiers, reschedule, minimumAge, arrivalMinutesBefore, lateArrival, and the rest of the policy settings)
  - `policySummary.lines` — array; required. 
    - `policySummary.lines[]` — one of: object, object, object, object, object, object, object, object; optional. 
      - `policySummary.lines[] — object option 1` — object; optional. 
        - `policySummary.lines[] — object option 1.code` — string; required.  Value: "no\_refunds"
      - `policySummary.lines[] — object option 2` — object; optional. 
        - `policySummary.lines[] — object option 2.code` — string; required.  Value: "refund\_until"
        - `policySummary.lines[] — object option 2.percent` — number; required. 100 is a full refund
        - `policySummary.lines[] — object option 2.hoursBefore` — integer; required. Hours before the session starts (0: until it starts) minimum: -9007199254740991; maximum: 9007199254740991
        - `policySummary.lines[] — object option 2.lessFees` — array; optional. The non-refundable fees that apply here, by their own names in lower case ("service charge"): the line says they aren't refunded. Absent when none applies
          - `policySummary.lines[] — object option 2.lessFees[]` — string; optional. 
      - `policySummary.lines[] — object option 3` — object; optional. 
        - `policySummary.lines[] — object option 3.code` — string; required.  Value: "refunds\_as"
        - `policySummary.lines[] — object option 3.destination` — string; required.  Allowed: "credit", "gift\_certificate"
      - `policySummary.lines[] — object option 4` — object; optional. 
        - `policySummary.lines[] — object option 4.code` — string; required.  Value: "no\_changes"
      - `policySummary.lines[] — object option 5` — object; optional. 
        - `policySummary.lines[] — object option 5.code` — string; required.  Value: "change\_until"
        - `policySummary.lines[] — object option 5.hoursBefore` — integer; required. Hours before the session starts (0: until it starts) minimum: -9007199254740991; maximum: 9007199254740991
        - `policySummary.lines[] — object option 5.times` — integer or null; required. How many times the date can change; null: no limit minimum: -9007199254740991; maximum: 9007199254740991
      - `policySummary.lines[] — object option 6` — object; optional. 
        - `policySummary.lines[] — object option 6.code` — string; required.  Value: "minimum\_age"
        - `policySummary.lines[] — object option 6.age` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `policySummary.lines[] — object option 6.withAdult` — integer or null; required. Younger guests down to this age can come with an adult minimum: -9007199254740991; maximum: 9007199254740991
      - `policySummary.lines[] — object option 7` — object; optional. 
        - `policySummary.lines[] — object option 7.code` — string; required.  Value: "arrive\_before"
        - `policySummary.lines[] — object option 7.minutes` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `policySummary.lines[] — object option 8` — object; optional. 
        - `policySummary.lines[] — object option 8.code` — string; required.  Value: "no\_entry\_after"
        - `policySummary.lines[] — object option 8.minutes` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `policySummary.text` — string; required. 

### set_session_capacity

Set how many seats one session has, such as fewer for a table out of service or more for an extra one, or null to remove the session's own number so it follows its product's capacity again. Seats already sold stay sold: the preview warns when the session would be left with more taken than its capacity. For a product's or a location's capacity, or any other setting, use update_settings. Returns a preview to confirm.

Changes · Members of an organization · Needs sessions:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `capacity` — integer or null; required. Seats in this session, or null to follow its product's capacity again minimum: 0; maximum: 100000

#### Output

- `level` — string; required. 
- `name` — string; required. 
- `settings` — array; required. 
  - `settings[]` — object; optional. 
    - `settings[].key` — string; required. 
    - `settings[].description` — string; required. 
    - `settings[].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.
    - `settings[].value` — any value; required. 
    - `settings[].source` — object; required. 
      - `settings[].source.level` — string; required.  Allowed: "default", "organization", "entity", "location", "product", "productLocation", "session"
      - `settings[].source.id` — string or null; required. 
      - `settings[].source.locationId` — string; optional. 
    - `settings[].overriddenHere` — boolean; required. 
    - `settings[].canSetHere` — boolean; required. 
    - `settings[].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
      - `settings[].plan.feature` — string; required. 
      - `settings[].plan.requiredTier` — string; required.  Allowed: "starter", "growth", "scale"
      - `settings[].plan.included` — boolean; required. 

### update_settings

Change settings at one level (see get_settings for the keys, values, and where each can be set). Set a key to change it here, or to null to remove the override so it inherits again. Pick the level with the most specific ids: a session; a product and a location; a product; a location; an entity; or nothing for the organization. For example, 56 seats for a product is { productId, settings: { capacity: 56 } }. Buffers apply to sessions created after the change, and a new reminderHoursBefore to bookings made from now. The pricing guardrails (priceFloorPpm, priceCeilingPpm, priceRoundTo) also need pricing:write and pricing:guardrails. refundCaps (the organization's) sets the most a manager or front desk member may refund on an order. Returns a preview to confirm.

Changes · Members of an organization · Needs settings:write

#### Input

- `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
- `settings` — object; required. Settings to change at this level, by key (see get_settings). A value of null removes the override, so the setting inherits again.
  - `settings.*` — any value; optional. 

#### Output

- `level` — string; required. 
- `name` — string; required. 
- `settings` — array; required. 
  - `settings[]` — object; optional. 
    - `settings[].key` — string; required. 
    - `settings[].description` — string; required. 
    - `settings[].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.
    - `settings[].value` — any value; required. 
    - `settings[].source` — object; required. 
      - `settings[].source.level` — string; required.  Allowed: "default", "organization", "entity", "location", "product", "productLocation", "session"
      - `settings[].source.id` — string or null; required. 
      - `settings[].source.locationId` — string; optional. 
    - `settings[].overriddenHere` — boolean; required. 
    - `settings[].canSetHere` — boolean; required. 
    - `settings[].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
      - `settings[].plan.feature` — string; required. 
      - `settings[].plan.requiredTier` — string; required.  Allowed: "starter", "growth", "scale"
      - `settings[].plan.included` — boolean; required. 
