apimock_mock
Generates a mock response for an endpoint by specifying HTTP method, path, and optional schema. Enables API testing without a live backend.
Instructions
Generate a mock response for an endpoint.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "apimock_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path | |
| method | Yes | HTTP method | |
| schema | No | Optional schema/fields |