# Sample data generator

Generate fake but realistic sample records (names, emails, phones, addresses and more) as JSON for testing.

- Endpoint: `POST https://setget.net/v1/tools/lorem-data` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `lorem-data`
- Page: https://setget.net/tools/lorem-data

## Inputs

- `fields` (optional, array, default `["name", "email"]`): Which fields each record has, in order: id, name, email, phone, address, company, date, sentence.
- `count` (optional, integer, default `10`, range 1..500): How many records to make.
- `seed` (optional, integer, default `1`, range -1000000000000..1000000000000): Any whole number. The same seed always gives the same records; change it for a different set.

## Example 1: Two people

```json
{"input":{"fields":["name","email","phone"],"count":2,"seed":7}}
```

Result:

```json
{"text":"[\n  {\n    \"name\": \"Liam Evans\",\n    \"email\": \"liam.evans@example.com\",\n    \"phone\": \"+1 512 555 0183\"\n  },\n  {\n    \"name\": \"Ben Chen\",\n    \"email\": \"ben.chen@example.com\",\n    \"phone\": \"+1 702 555 0112\"\n  }\n]","records":[{"name":"Liam Evans","email":"liam.evans@example.com","phone":"+1 512 555 0183"},{"name":"Ben Chen","email":"ben.chen@example.com","phone":"+1 702 555 0112"}],"count":2}
```

## Example 2: IDs, companies and dates

```json
{"input":{"fields":["id","company","date"],"count":3,"seed":42}}
```

**Could the data belong to a real person?** It is built to avoid that. Emails use example.com, which is reserved for examples, phone numbers use the 555-01xx range kept for fiction, and addresses use invented towns.

**Why do I get the same records every time?** The seed makes the output repeatable, which is what tests need. Change the seed for new records.
