swarm_init
Initialize a persistent optimization swarm with a task spec, episode budget, scoring metric, and minimize/maximize direction for coordinated agent experiments.
Instructions
Create a persistent swarm with a task spec and episode budget.
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": {
"swarm_id": "<swarm_id>",
"task": "<task>",
"budget": "<budget>",
"metric": "<metric>",
"direction": "<direction>"
},
"name": "swarm_init"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| budget | Yes | ||
| metric | Yes | ||
| swarm_id | Yes | ||
| direction | Yes |