remove_elements
Delete elements from a bridge structural model by ID, range (e.g., '1to10'), or all. Optionally remove nodes left unused after deletion for clean model updates.
Instructions
Delete elements from the model (删除单元).
Args:
ids: Element ID(s) to delete. Supports int, list, or range string '1to10'.
Leave empty to delete ALL elements.
(单元编号,留空则删除全部单元)
remove_free_nodes: Also delete nodes that become free after element deletion
(是否同时删除孤立节点,默认不删除)
confirm_delete_all: MUST be set to true if ids is empty (deleting all elements).
(如果要删除所有单元,必须设为 true)
CRITICAL LLM INSTRUCTION: Do NOT delete all elements autonomously to fix your own mistakes.
You MUST explicitly ask the USER for permission before calling this tool with empty ids.
(大模型绝对不可为了修复自己的错误而自行清空所有单元!必须先向用户询问并获得许可!)
Example:
remove_elements(ids="11to20")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| remove_free_nodes | No | ||
| confirm_delete_all | No |