-
Notifications
You must be signed in to change notification settings - Fork 643
Closed
Labels
Description
Feature Request: View Network Request/Response Bodies
Problem:
Current network tools show request status, headers, and timing, but AI assistants can't inspect the actual request/response payloads. This makes it difficult to debug API failures, malformed requests, or unexpected response data.
Use cases:
- Debug API failures by inspecting error response body
- Verify request payload is correctly formatted (JSON/form data)
- Understand authentication failures by checking auth response
- Debug GraphQL query/response issues
- Inspect CORS errors and preflight responses
Proposed enhancement:
Extend get_network_request
tool to include:
- Request body (for POST/PUT/PATCH)
- Response body (with size limits or truncation for large responses)
- Content-Type detection and formatting (JSON pretty-print, etc.)
Or add new tool: get_network_request_body
/ get_network_response_body
Happy to contribute implementation if this aligns with the project direction.