api_create_mock
Generate a mock API server from an OpenAPI spec or route definitions, returning realistic fake data that matches your API schema.
Instructions
Generate a mock API server that returns realistic fake data matching your API schema
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": {
"spec_path": "<spec_path>"
},
"name": "api_create_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Port for mock server | |
| api_key | No | ||
| spec_path | Yes | Path to OpenAPI spec or route definitions |