fetch_fulfill
Fulfill paused HTTP requests with custom status codes, headers, and bodies to simulate API responses for testing and debugging.
Instructions
Respond to a paused request with a custom/mock response
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": {
"requestId": "<requestId>",
"responseCode": "<responseCode>",
"body": "<body>"
},
"name": "fetch_fulfill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Response body content | |
| headers | No | Response headers | |
| requestId | Yes | Request ID from paused request | |
| responseCode | Yes | HTTP status code (e.g. 200, 404, 500) |