Save a custom territory
save_territorySave a territory on the rep's MedaRep account from a metro, county FIPS codes and/or ZIP codes, optionally with its procedure family; it then shows under /territories and in my_territories. Saving under an existing territory's name replaces it. The plan limits how many territories are kept. Use only when the user asks to save one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "save_territory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The territory's name, e.g. "South Charlotte knee". | |
| zips | No | 5-digit ZIP codes forming a custom territory (as my_territories returns them). | |
| metro | No | Metro area by name ("Charlotte") or 5-digit CBSA code (16740). Can cross state lines. | |
| family | No | Procedure family key from coverage (e.g. knee-arthroplasty, lumbar-fusion) or a plain name. | |
| counties | No | 5-digit county FIPS codes forming a custom territory. |