createBenefit
Create a benefit in a location, optionally inside one of its benefit categories. Returns the created benefit. Call getLocations to list locations, or getLocation to fetch one by locationId. Leave out categoryRef for a benefit without a category, or get it from getBenefitCategories with the same locationRef. Leave out media: files cannot be uploaded here, so images are added in the Spacebring admin app. Never invent UUIDs; only use values from prior tool responses.
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": {
"benefit": "<benefit>"
},
"name": "createBenefit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| benefit | Yes | Benefit to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| benefit | Yes |