get_request_logs
Retrieve captured request and response logs from the mock server. Filter by method, path, or mock ID to verify expected API calls.
Instructions
Retrieve captured request/response logs. Filter by method, path, mock ID, or protocol. Use this to verify that expected API calls were made to the mock server.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_request_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum logs to return | |
| method | No | Filter by HTTP method | |
| mockId | No | Filter by mock ID that handled the request | |
| offset | No | Logs to skip | |
| pathPrefix | No | Filter by path prefix | |
| protocol | No | Filter by protocol type | |
| unmatchedOnly | No | If true, only return unmatched requests with near-miss analysis showing which mocks almost matched and why they didn't |