emulators_clear
Delete all data from selected Firebase emulator services, including Firestore, Auth, Storage, Pub/Sub, and Tasks. Require confirmProject when clearing more than one service.
Instructions
DESTRUCTIVE: delete all data of the chosen services (every Firestore document, every Auth user and tenant, every Storage object, every Pub/Sub topic, subscription, schema and message, every Cloud Tasks task and its history). Clearing more than one service needs confirmProject set to the project id.
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": {
"sections": "<sections>"
},
"name": "emulators_clear"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | Services to clear | |
| runTriggers | No | Firestore only: run the delete triggers of the cleared documents; default false | |
| confirmProject | No | The project id, required when clearing more than one service (the console's safeguard) |