Data Processing
Generate various types of arrays including numeric sequences, random arrays, test data, and date sequences
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/array-generator' \
-H 'Content-Type: application/json' \
-d '{"generatorType":"arithmetic","start":1,"end":10,"step":1,"count":10,"randomType":"floats","minValue":5,"maxValue":100,"stringType":"alphanumeric","dateStart":"Select start date","dateEnd":"Select end date","dateInterval":1,"format":"iso"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/array-generator| Name | Type | Required | Description |
|---|---|---|---|
| generatorType | select | Yes | — |
| start | number | No | — |
| end | number | No | — |
| step | number | No | — |
| count | number | No | — |
| randomType |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-array-generator": {
"name": "array-generator",
"description": "Generate various types of arrays including numeric sequences, random arrays, test data, and date sequences",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=array-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "array-generator",
"arguments": {
"generatorType": "arithmetic",
"start": 1,
"end": 10,
"step": 1,
"count": 10,
"randomType": "floats",
"minValue": 5,
"maxValue": 100,
"stringType": "alphanumeric",
"dateStart": "Select start date",
"dateEnd": "Select end date",
"dateInterval": 1,
"format": "iso"
}
}
}Questions or issues? Contact [email protected]
| select |
| No |
| — |
| minValue | number | No | — |
| maxValue | number | No | — |
| stringType | select | No | — |
| dateStart | date | No | — |
| dateEnd | date | No | — |
| dateInterval | number | No | — |
| format | select | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}