whistle-mcp

by 7gugu
Verified

replayRequest

Replay captured network requests in Whistle MCP Server to test or debug API calls. Specify URL, method, headers, and body, then retrieve results using the getInterceptInfo interface for analysis.

Instructions

在whistle中重放捕获的请求(本接口请求后不会直接返回结果, 需要使用getInterceptInfo接口获取结果)

Input Schema

NameRequiredDescriptionDefault
bodyNo请求体,可以是字符串或对象
headersNo请求头,可以是对象或字符串
methodNo请求方法,默认为GET
urlYes请求URL
useH2No是否使用HTTP/2

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "body": { "description": "请求体,可以是字符串或对象", "type": "string" }, "headers": { "description": "请求头,可以是对象或字符串", "type": "string" }, "method": { "description": "请求方法,默认为GET", "type": "string" }, "url": { "description": "请求URL", "type": "string" }, "useH2": { "description": "是否使用HTTP/2", "type": "boolean" } }, "required": [ "url" ], "type": "object" }
ID: xtjvndsy4c