get_mock
Retrieve mock content by ID from the Mockery server, returning file content with content-type and status code. Supports comma-separated IDs for random selection.
Instructions
Retrieve mock content from the Mockery server. Returns the mock file content with its content-type and status code.
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": {
"mockId": "<mockId>"
},
"name": "get_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mockId | Yes | The mock ID in format "ServiceName/FileId" (e.g., "FooBar/1234", "Products/hydrate"). For multiple mock IDs with random selection, use comma-separated values (e.g., "FooBar/1234,FooBar/5678"). |