list_experiments
Retrieves BehaviorSpace experiments from a NetLogo model file, returning their names, repetitions, metrics, and variables without launching a JVM.
Instructions
List BehaviorSpace experiments saved inside a NetLogo model file.
Reads the <experiments> section of a .nlogox (or .nlogo) without
starting a JVM, so it's instant. By default it inspects the model the
AI most recently loaded; pass model_path to inspect a specific file.
Returns JSON: {"model_path": ..., "experiments": [<spec>...]} where
each spec includes name, repetitions, time_limit,
setup_commands, go_commands, metrics, variables (with
expanded_size per variable), and total_runs. An empty list means
the file has no saved experiments — you can still pass an inline
spec to run_experiment.
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": "list_experiments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |