Save a location
locations_saveMake a location, or change one: its name, where it is, who its report is for, and which connected accounts belong to it. Use it when the user has several branches, or posts for several clients. An account belongs to one location at a time. Part of Pro; refused on other plans.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "locations_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A location id from locations_list, to change that one. Leave out to make a new location. | |
| name | No | What the location is called, for example the branch or the client, up to 80 characters. Needed for a new one. | |
| place | No | Where it is, for example "Hialeah, FL", up to 120 characters. | |
| client | No | Who its report is for, when the user posts for someone else, up to 120 characters. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. | |
| accountIds | No | The connected accounts that belong to it, as ids from accounts_list. This replaces the list. An account leaves any other location it was in. |