Skip to content

chops

chops

MCP tool wrappers for Houdini CHOP (Channel Operator) operations.

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

Functions:

Name Description
create_chop_node

Create a new CHOP node.

export_chop_to_parm

Export a CHOP channel to a parameter via a chop() expression.

get_chop_data

Get CHOP node track data.

list_chop_channels

List all channels on a CHOP node.

Functions

create_chop_node async

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

Create a new CHOP node.

Parameters:

Name Type Description Default
parent_path
str

Parent network path.

required
chop_type
str

CHOP node type to create.

required
name
Optional[str]

Node name override.

None

export_chop_to_parm async

export_chop_to_parm(
    ctx: Context,
    chop_path: str,
    channel_name: str,
    target_node_path: str,
    target_parm_name: str,
) -> dict

Export a CHOP channel to a parameter via a chop() expression.

Parameters:

Name Type Description Default
chop_path
str

CHOP node path.

required
channel_name
str

Channel to export.

required
target_node_path
str

Target node path.

required
target_parm_name
str

Parameter to receive the export.

required

get_chop_data async

get_chop_data(
    ctx: Context,
    node_path: str,
    channel_name: Optional[str] = None,
    start: Optional[int] = None,
    end: Optional[int] = None,
) -> dict

Get CHOP node track data.

Parameters:

Name Type Description Default
node_path
str

CHOP node path.

required
channel_name
Optional[str]

Specific channel to retrieve.

None
start
Optional[int]

Start sample index.

None
end
Optional[int]

End sample index.

None

list_chop_channels async

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

List all channels on a CHOP node.

Parameters:

Name Type Description Default
node_path
str

CHOP node path.

required