get_response
Retrieve captured HTTP response details—status, headers, timing, TLS/connection info, and optionally a bounded redacted body—for a specific Charles Proxy transaction.
Instructions
Status, headers (redacted), timing, TLS/connection info and optionally the bounded/redacted response body.
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": {
"transaction_id": "<transaction_id>"
},
"name": "get_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_body | No | Fetch a bounded, redacted response body (needs bodies enabled) | |
| max_body_bytes | No | ||
| transaction_id | Yes | transaction_id from list_requests (e.g. 't42'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| error | Yes | ||
| state | Yes | ||
| status | Yes | ||
| timing | Yes | ||
| headers | Yes | ||
| body_bytes | Yes | ||
| connection | Yes | ||
| redactions | Yes | ||
| content_type | Yes | ||
| header_bytes | Yes | ||
| charles_status | Yes | ||
| transaction_id | Yes |