generate_mock_data
Create mock data from JSON Schema or OpenAPI definitions for testing and development, with optional count to generate multiple objects.
Instructions
Generate mock data based on a JSON schema or OpenAPI schema definition. Useful for testing and development.
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": "generate_mock_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of mock objects to generate (default: 1) | |
| schema | Yes | JSON Schema or OpenAPI schema object |