assign_asset
Assign an asset to a component property in Open 3D Engine by resolving its product path and confirming the value sticks; errors on unknown targets or failed writes.
Instructions
Assign an asset to a component property by resolving the asset path.
asset_path is the product path in the asset catalog (for example
objects/thing.fbx.azmodel). The property is read back after setting,
and only an assignment that holds is reported as done; an unknown asset,
component or property, or a value that does not stick, is returned as an
error.
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": {
"entity_id": "<entity_id>",
"component_type": "<component_type>",
"property_path": "<property_path>",
"asset_path": "<asset_path>"
},
"name": "assign_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| asset_path | Yes | ||
| property_path | Yes | ||
| component_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |