remove_nodes
Delete specified nodes from a bridge model by ID, range, or remove all nodes with explicit confirmation. Use to clean up unwanted nodes in structural analysis.
Instructions
Delete nodes from the model (删除节点).
Args:
ids: Node ID(s) to delete. Supports int, list, or range string '1to10'.
Leave empty to delete ALL nodes.
(节点编号,留空则删除全部节点)
confirm_delete_all: MUST be set to true if ids is empty (deleting all nodes).
(如果要删除所有节点,必须设为 true)
CRITICAL LLM INSTRUCTION: Do NOT delete all nodes autonomously to fix your own mistakes.
You MUST explicitly ask the USER for permission before calling this tool with empty ids.
(大模型绝对不可为了修复自己的错误而自行清空所有节点!必须先向用户询问并获得许可!)
Example:
remove_nodes(ids=[5, 6, 7]) # Delete specific nodes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| confirm_delete_all | No |