create_material_function
Create a new Material Function asset in Unreal Engine. Supports custom file path, description, library exposure, and optional forced overwrite.
Instructions
Create a new Material Function asset.
Returns error if asset already exists. Pass force=true to delete and recreate.
Args: name: Function name (e.g. "MF_CustomBlend") path: Content Browser path description: Function description shown in tooltips expose_to_library: Whether the function appears in the material editor's function library force: If true, delete existing asset and recreate (default false)
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": {
"name": "<name>"
},
"name": "create_material_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | /Game/Materials/Functions | |
| force | No | ||
| description | No | ||
| expose_to_library | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |