cleanup_test_data
Remove test subscribers matching a username prefix under a domain. Companion to gen_test_subscribers. Use confirm=true to delete; otherwise returns dry-run count of matched rows.
Instructions
Remove every subscriber matching <username_prefix>NNNN under
domain. Companion to gen_test_subscribers.
Parameters
domain:
Domain whose test users to remove.
username_prefix:
Same prefix used in generation.
confirm:
Must be True to actually delete. Default False returns
the dry-run count of matched rows.
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": {
"domain": "<domain>"
},
"name": "cleanup_test_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| username_prefix | No | test | |
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||