create_hda
Convert an existing Houdini subnet node into a reusable HDA file, defining its type name, label, and version.
Instructions
Create a new HDA from an existing subnet node.
A Copernicus subnet's connectors are signed from its own Input/Output
parms (inputtype#/outputtype#, labels): a cable output stays Cable.
connectors reads them back.
Args: ctx: MCP context. node_path: Subnet node path. hda_file: Destination HDA file path; variables ($JOB) are expanded. type_name: Operator type name. label: Human-readable label. version: Version string.
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": {
"node_path": "<node_path>",
"hda_file": "<hda_file>",
"type_name": "<type_name>",
"label": "<label>"
},
"name": "create_hda"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| version | No | 1.0 | |
| hda_file | Yes | ||
| node_path | Yes | ||
| type_name | Yes |