Run MaterialCraft engine commands
run_materialcraft_commandsExecute chained material-design commands and engine tools on new or opened packages, reuse prior step results, then save maps, .mcmat files, or packages with optional previews.
Instructions
Advanced: run any MaterialCraft commands in order (graph., node., edit.*...) plus the engine tools graph_new / node_add / node_connect / node_param / library_list / session_inspect / bitmap_import (step id = the tool name), on a new or an opened package, then save maps, .mcmat or the package. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[0].id". A new session starts with a sample package; add a graph with graph_new first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_materialcraft_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name for the outputs, without extension. | materialcraft |
| steps | No | ||
| formats | No | Save the result (needs output_dir or output_path). | |
| preview | No | Return a picture of the result. | |
| open_path | No | Absolute file to open first (never saved over; save a copy with formats). | |
| overwrite | No | ||
| output_dir | No | ||
| output_path | No | ||
| stop_on_error | No |