copy_component
Copy a component subtree to a new name, optionally setting a new parent path, to duplicate and relocate components in ELN templates.
Instructions
复制组件子树到新 name,可指定新 parentPath。
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": {
"sourcePath": "<sourcePath>",
"newName": "<newName>"
},
"name": "copy_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | ||
| parentPath | No | ||
| sourcePath | Yes |