setProgramSeed
Sets a Noisemaker DSL program's seed and returns the seed plus the program with its seed directive written or replaced for deterministic rendering.
Instructions
Set a Noisemaker DSL program's seed and return the seed and the program with its seed directive written or replaced. The whole program comes back as the engine's unparser writes it: comments before the search directive are dropped, and literal values are written as compiled, while random calls stay as written. Built-in effects only. Needs a Noisemaker 2 renderer.
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": {
"dsl": "<dsl>",
"seed": "<seed>"
},
"name": "setProgramSeed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | Noisemaker DSL program | |
| seed | Yes | Program seed, a whole number from 0 to 4294967295 |