delete_elements
Deletes specified elements and their descendants from a mind map, requiring confirmation to prevent irreversible removal. First call returns targets for approval; then confirm to execute.
Instructions
既存マップから要素を削除する。指定した要素とその配下(子孫)を丸ごと削除する。削除は取り返しがつかないため、まずconfirmedを省略(またはfalse)で呼び、返ってくる削除対象の一覧(パスと配下件数)をユーザーに提示して明示的な同意を得てから、confirmed: trueで呼び直すこと。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | list_mapsで得たマップのID | |
| confirmed | No | true以外(省略時false)は削除対象の確認情報だけを返し、実際には削除しない | |
| elementIds | Yes | list_elementsで得た要素のID(複数可) |