manage_location
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Create a training location, or update one: rename it, change its kind, make it the default, or add and remove equipment. Use when the user says where they train, what a place has ("my hotel has dumbbells to 50 and a bench"), or that equipment is missing or new. Call list_locations first to get ids and avoid duplicates.
create: name required. kind defaults to other. Equipment starts from preset (default follows kind: home -> home_gym, gym -> full_gym, hotel -> hotel_gym, else bodyweight) unless add is given, which replaces the preset. The user's first location becomes the default. update: location required (id or exact name). Pass any of name, kind, make_default, add, remove. add upserts an item (with sizes when the user stated them); remove takes items out. Bodyweight is always available and never listed.
Writes immediately to the user's saved location, which Jamie and the On Deck coach read for every plan. There is no delete here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Equipment to add or replace by item. | |
| kind | No | ||
| name | No | create: the new location name. update: a new name to rename it. | |
| preset | No | create: starting equipment. Ignored when add is given. | |
| remove | No | Equipment item ids to take out. | |
| location | No | update: the location id or exact name from list_locations. | |
| operation | Yes | ||
| make_default | No | Make this the default location used when none is named. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |