set_usd_attribute
Sets a USD attribute on a specified prim path using an authoring LOP, supporting float, int, string, and vector types.
Instructions
创建白名单属性 authoring LOP(add-usd-solaris-tools,MUTATING)。
按其真实参数 schema author;adapter 或 value 无法无损映射时返回
``unsupported``,**禁止** fallback 到 composed stage mutation。
``attribute_type`` 接受 ``float / int / string / vector``。响应过
server 端 ``apply_response_cap``。
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": {
"ctx": "<ctx>",
"parent_path": "<parent_path>",
"prim_path": "<prim_path>",
"attribute": "<attribute>",
"value": "<value>"
},
"name": "set_usd_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| value | Yes | ||
| attribute | Yes | ||
| node_name | No | ||
| prim_path | Yes | ||
| parent_path | Yes | ||
| attribute_type | No | float |