Generator
Generate structured test data from field configuration with support for faker fields, regex rules, credit cards, IDs, and batch export
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/test-data-faker-builder' \
-H 'Content-Type: application/json' \
-d '{"configJson":"{\n \"fields\": [\n {\n \"name\": \"fullName\",\n \"type\": \"fullName\",\n \"locale\": \"en\"\n },\n {\n \"name\": \"email\",\n \"type\": \"email\"\n },\n {\n \"name\": \"creditCard\",\n \"type\": \"creditCard\",\n \"network\": \"visa\"\n },\n {\n \"name\": \"status\",\n \"type\": \"pick\",\n \"values\": [\n \"new\",\n \"active\",\n \"blocked\"\n ]\n },\n {\n \"name\": \"signupCode\",\n \"type\": \"regex\",\n \"pattern\": \"QA-[A-Z0-9]{6}\"\n }\n ]\n}","count":3,"exportFormat":"json"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/test-data-faker-builder| Name | Type | Required | Description |
|---|---|---|---|
| configJson | textarea | Yes | — |
| count | number | No | — |
| exportFormat | select | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-test-data-faker-builder": {
"name": "test-data-faker-builder",
"description": "Generate structured test data from field configuration with support for faker fields, regex rules, credit cards, IDs, and batch export",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=test-data-faker-builder",
"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": "test-data-faker-builder",
"arguments": {
"configJson": "{\n \"fields\": [\n {\n \"name\": \"fullName\",\n \"type\": \"fullName\",\n \"locale\": \"en\"\n },\n {\n \"name\": \"email\",\n \"type\": \"email\"\n },\n {\n \"name\": \"creditCard\",\n \"type\": \"creditCard\",\n \"network\": \"visa\"\n },\n {\n \"name\": \"status\",\n \"type\": \"pick\",\n \"values\": [\n \"new\",\n \"active\",\n \"blocked\"\n ]\n },\n {\n \"name\": \"signupCode\",\n \"type\": \"regex\",\n \"pattern\": \"QA-[A-Z0-9]{6}\"\n }\n ]\n}",
"count": 3,
"exportFormat": "json"
}
}
}Questions or issues? Contact [email protected]