fulfill_request_with_file
Respond to a paused browser request by serving a local file as the HTTP response body, with automatic Content-Type detection from the file extension.
Instructions
Respond to a paused request with file contents. Automatically detects Content-Type from file extension.
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>",
"filePath": "<filePath>"
},
"name": "fulfill_request_with_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | HTTP status code (default: 200) | |
| headers | No | Additional response headers | |
| filePath | Yes | Path to the file to serve as response body | |
| requestId | Yes | Request ID from list_paused_requests | |
| statusText | No | HTTP status text | |
| contentType | No | Content-Type header (auto-detected from file extension if not provided) |