Add a store location
create_locationAdds a physical location to a store. The address is geocoded so wallet passes can remind customers nearby.
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>",
"address": "<address>"
},
"name": "create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | e.g. "Main Street" or the store name for a single shop. | |
| intent | No | Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details. | |
| address | Yes | Full street address including town and postcode. | |
| store_id | No | Store id from list_stores. Optional when the login has one store. |