construct_netlogo_instrument
Instruments a NetLogo 7 model to record its run for Construct, returning the model, a headless BehaviorSpace experiment, and the construct.nls recorder to save beside it.
Instructions
A NetLogo 7 model (.nlogox text) that records its run for Construct: the recorder included, set up after setup's reset-ticks and recording after go's tick (or the model's own buttons; a model that never ticks records by steps). Returns the model, a headless BehaviorSpace experiment and the recorder (construct.nls) to save beside it; run it in NetLogo, then draw run.jsonl with construct_netlogo_draw. NetLogo models in the library keep their own licence.
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": {
"model": "<model>",
"title": "<title>"
},
"name": "construct_netlogo_instrument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| go | No | the go command, if not the model's own | |
| seed | No | ||
| every | No | ||
| model | Yes | the .nlogox file's text | |
| setup | No | the setup command, if not the model's own (with inputs: "setup 4") | |
| ticks | No | the experiment's length | |
| title | Yes | ||
| patches | No | ||
| turtles | No | turtle variables or reporters, per turtle | |
| reporters | No | observer reporters, each record | |
| skip_turtles | No |