material.assign
Append, replace, or clear an exact material slot on an object while verifying identity and user counts to ensure safe transactional edits.
Instructions
Append, replace, or clear one exact material slot on inspected object data. Shared data requires its exact user count and explicit permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| slot_index | No | ||
| object_name | Yes | ||
| material_name | No | ||
| transaction_id | Yes | ||
| idempotency_key | Yes | ||
| allow_shared_data | No | ||
| expected_data_users | Yes | ||
| expected_data_identity | Yes | ||
| expected_material_users | No | ||
| expected_object_identity | Yes | ||
| expected_scene_generation | Yes | ||
| expected_material_identity | No | ||
| expected_slot_material_identity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||