initialize_array
Set up an array and define a task to process each item individually or in batches within the Loop MCP Server.
Instructions
Initialize the array and task to be processed
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": {
"array": "<array>",
"task": "<task>"
},
"name": "initialize_array"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| array | Yes | The array of items to process | |
| task | Yes | The task description to perform on each item | |
| batchSize | No | Number of items to process in each batch (default: 1) |