Create a store
create_storeAdds a new, empty store to the login's agency, with its own cards, posters and locations: for a client, a second business, or a demo to show a prospect. Then set it up with create_card, create_poster and create_location using the returned store_id. Don't use this to set up a store the login already has: call list_stores first and use the existing store if it's the same business.
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_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Store name in Leal, usually the business or client name, e.g. "Bean There Coffee". | |
| 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. | |
| logo_url | No | Public https URL of the wide logo (PNG, JPEG, WebP, GIF or SVG), e.g. from get_brand_kit. | |
| agency_id | No | Agency id from list_stores. Only needed when this login runs several agencies. | |
| store_name | No | Public name customers see on cards and signup pages, if different from name. | |
| square_logo_url | No | Public https URL of a square logo or icon. |