Clear data slice
clear_data_sliceClears a region of a cube in the connected application (POST /plantypes/{cube}/clear). The body is Oracle's clear shape, with the point of view and the members to clear. Data in the region is removed and cannot be recovered from here. Use it only when the user asks to wipe a region before a reload. For a write, I require a preview first, then confirm: true and its confirmationToken. The token lasts ten minutes and works once.
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": {
"planType": "<planType>",
"body": "<body>"
},
"name": "clear_data_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Oracle clear body describing the region to clear | |
| confirm | No | Set true after the user has approved the previewed change | |
| planType | Yes | Cube (plan type) to clear in, e.g. Plan1 | |
| connection | No | Connection id or label from list_connections. Defaults to the user's default connection. | |
| application | No | Application name. Defaults to the connection's application. | |
| confirmationToken | No | Single-use token from this exact preview. Send it with confirm: true after the user approves. It expires after ten minutes. |