copy_node
Copies a Vika node within a space to a target parent location using the source node ID and destination parent ID.
Instructions
Copy a node to a target location.
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": {
"spaceId": "<spaceId>",
"payload": "<payload>"
},
"name": "copy_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Copy options including source nodeId and target parentId. | |
| spaceId | Yes | Space ID, usually starts with spc. |