hda
Read and change Houdini digital assets.
Instructions
Read and change Houdini digital assets.
Modes: list, get, install, uninstall, reload, update, create, sections, section_get, section_set.
Use it when a node type comes from a .hda file: to find the file, to load a
new one, or to read the scripts and the help inside it.
Do not use it for the parameters of one node in the scene: node_inspect
does that.
mode:
"list" — the installed assets. `category` filters, for example
"Sop".
"get" — the definition of `node_type`: the file, the version
and the tools.
"install" — load the .hda file at `file_path` into the session.
"uninstall" — unload the .hda file at `file_path`.
"reload" — read the .hda file at `file_path` again, after an edit
on disk.
"update" — save the node at `node_path` back into its asset.
"create" — make an asset from the subnet at `node_path`, with
`name`, `label` and `file_path`.
"sections" — the section names inside `node_type`.
"section_get" — the text of `section_name`, for example "PythonModule".
"section_set" — write `content` into `section_name`.
Returns JSON. "install" and "uninstall" change every node of that type in
the session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hda"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | One of "list", "get", "install", "uninstall", "reload", "update", "create", "sections", "section_get", "section_set". | list |
| name | No | create: the type name of the new asset. | |
| label | No | create: the name that the TAB menu shows. | |
| content | No | section_set: the text to write into the section. | |
| category | No | list: keep one node category, for example "Sop". | |
| file_path | No | install, uninstall, reload: the .hda file. create: the file to write. | |
| node_path | No | update: the node to save into its asset. create: the subnet to make an asset from. | |
| node_type | No | get, sections, section_get, section_set: the asset type, as list names it, for example "labs::edge_damage::1.0", or with its category, "Sop/labs::edge_damage::1.0". | |
| section_name | No | section_get, section_set: the section, for example "PythonModule". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |