Delete subtask
delete_subtaskSoft-delete a billing subtask and its time entries into the recycle bin, where an admin can restore them together. Returns a preview unless confirm=true is set.
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": {
"subtask_id": "<subtask_id>"
},
"name": "delete_subtask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to perform the action. Omit or false returns a preview only — nothing is written. | |
| subtask_id | Yes | Id of the subtask to delete. | |
| idempotency_key | No | Optional caller-supplied key; retrying with the same key returns the original result instead of acting twice. |