render_script
Converts EisenScript procedural grammar source into a Wavefront OBJ mesh, returning the OBJ path, vertex and face counts, and bounding box. Supports optional RNG seeding for reproducible output and a timeout to stop runaway scripts.
Instructions
Render EisenScript to a Wavefront OBJ mesh.
Args:
script: Full EisenScript source (rules, primitives, transformations).
output_path: Where to write the .obj. Empty = temp file under the
system temp dir (path is returned).
seed: Optional RNG seed; injected as set seed N for reproducibility.
timeout: Seconds before aborting a runaway script.
Returns a summary: OBJ path, vertex/face counts, bounding box.
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": {
"script": "<script>"
},
"name": "render_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| script | Yes | ||
| timeout | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |