set_variant_selection
Validate a variant set and name, then preview or select the specified USD variant to change the active configuration.
Instructions
Preview or select an existing USD variant after validating the set and available names.
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": {
"prim_path": "<prim_path>",
"variant_set": "<variant_set>",
"selection": "<selection>"
},
"name": "set_variant_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | ||
| prim_path | Yes | ||
| selection | Yes | ||
| command_id | No | ||
| variant_set | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |