Create location
create_locationCreate ONE location, optionally under a parent location id (ids from search_resources). scaffold_locations creates a whole tree with a dry run and reuses existing nodes. Not idempotent: a repeated call creates a same-name sibling. Requires the manager role.
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": "create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Location name | |
| parentId | No | Parent location resource id (omit for top level) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Location name as stored (trimmed) | |
| locationId | No | The new location's resource id |