Add or remove sample data
sample_dataLoad or clear the sample data: a small example inventory (categories, places, people, items and a few tickets, all marked as samples) for a new organization to look around in. action "add" loads it; while it is loaded a second add changes nothing. packKey picks the set (absent = the set that fits this organization). Sample items do not count against the item allowance. action "remove" deletes exactly the sample records, including ones edited since they were loaded, and nothing restores them as they were; records the organization created stay, and a sample category or place that its own records use is archived instead. A big set finishes removing in the background (outcome "removing"). Owner only.
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": {
"action": "<action>"
},
"name": "sample_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | add = load the sample set, remove = delete it again | |
| packKey | No | Only for add: which sample set; absent = the set that fits this organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A note on the outcome | |
| webUrl | No | Link to the items list in the web app, where the sample items show | |
| outcome | No | added | alreadyActive | notOffered (this organization's own showcase set was removed; nothing else is offered) | removing (continues in the background) | removed | notActive (there was nothing to remove) | |
| packKey | No | Which sample set is loaded (custom = the organization's own showcase content) | |
| sampleDataActive | No | Whether sample records are loaded after this call |