Skip to content

cops

cops

MCP tool wrappers for Houdini COP (Copernicus) operations.

Each tool delegates to the corresponding handler running inside Houdini via the HTTP bridge.

Functions:

Name Description
create_cop_node

Create a COP node in the specified network.

get_cop_geometry

Get geometry representation from a COP node.

get_cop_info

Get information about a COP node.

get_cop_layer

Get image layer data from a COP node.

get_cop_vdb

Get VDB volumetric data from a COP node.

list_cop_node_types

List available COP node types.

set_cop_flags

Set flags on a COP node.

Functions

create_cop_node async

create_cop_node(
    ctx: Context, parent_path: str, cop_type: str, name: Optional[str] = None
) -> dict

Create a COP node in the specified network.

Parameters:

Name Type Description Default
parent_path
str

Path to the parent COP network.

required
cop_type
str

COP node type to create.

required
name
Optional[str]

Override node name.

None

get_cop_geometry async

get_cop_geometry(ctx: Context, node_path: str, output_index: int = 0) -> dict

Get geometry representation from a COP node.

Parameters:

Name Type Description Default
node_path
str

Path to the COP node.

required
output_index
int

Output connector index.

0

get_cop_info async

get_cop_info(ctx: Context, node_path: str) -> dict

Get information about a COP node.

Parameters:

Name Type Description Default
node_path
str

Path to the COP node.

required

get_cop_layer async

get_cop_layer(ctx: Context, node_path: str, output_index: int = 0) -> dict

Get image layer data from a COP node.

Parameters:

Name Type Description Default
node_path
str

Path to the COP node.

required
output_index
int

Output connector index.

0

get_cop_vdb async

get_cop_vdb(ctx: Context, node_path: str, output_index: int = 0) -> dict

Get VDB volumetric data from a COP node.

Parameters:

Name Type Description Default
node_path
str

Path to the COP node.

required
output_index
int

Output connector index.

0

list_cop_node_types async

list_cop_node_types(ctx: Context, filter: Optional[str] = None) -> dict

List available COP node types.

Parameters:

Name Type Description Default
filter
Optional[str]

Substring filter for node type names.

None

set_cop_flags async

set_cop_flags(
    ctx: Context,
    node_path: str,
    display: Optional[bool] = None,
    export_flag: Optional[bool] = None,
    compress: Optional[bool] = None,
) -> dict

Set flags on a COP node.

Parameters:

Name Type Description Default
node_path
str

Path to the COP node.

required
display
Optional[bool]

Display flag state.

None
export_flag
Optional[bool]

Render/export flag state.

None
compress
Optional[bool]

Compress flag state.

None