clear_table
Remove all data from a table while preserving its schema in Dune Analytics. Specify namespace and table name to clear blockchain data tables.
Instructions
Remove all data from a table while preserving its schema.
Args: namespace: Namespace of the table. table_name: Name of the table to clear.
Returns: Clear confirmation.
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": {
"namespace": "<namespace>",
"table_name": "<table_name>"
},
"name": "clear_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| table_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||