API Response Mocker
mock_api_responseGenerate realistic mock API responses from JSON Schema specifications for testing and development purposes.
Instructions
Generate realistic mock API responses from a JSON Schema. Supports nested objects, arrays, string formats (email, uuid, date-time, url), field-name heuristics, enums, and min/max constraints. Set seed for reproducible output. Returns 1–100 records.
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": {
"schema": "<schema>"
},
"name": "mock_api_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | JSON Schema object describing the shape of the mock data | |
| count | No | Number of mock records to generate (1–100) | |
| seed | No | Optional seed for reproducible output |