getNetworkRequests
The Jam's network requests as text, one per line: [M:SS #index] METHOD url → status (initiator, type, duration), with the error, bodies and headers under it. index reads just the requests timeline lines name, with their bodies. Other filters are arrays, OR within one and AND across: statusCode (['4xx','5xx'] for failures), method (['POST','PUT','PATCH','DELETE'] for writes), host, contentType. Only failed requests carry their response body unless bodies:'all' (every body, cut at 4KB: filter first). headers:true adds request and response headers, secret values redacted at capture. The first line gives the match count and the UTC time of [0:00], to match backend logs.
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": {
"jamId": "<jamId>"
},
"name": "getNetworkRequests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Substrings, e.g. ['api.example.com'] | |
| toMs | No | Only events at or before this ms into the recording | |
| after | No | From the previous page's `More:` line | |
| index | No | Event indexes from the timeline's `[M:SS #index]`; bodies included | |
| jamId | Yes | Jam identifier — a UUID or a jam.dev URL | |
| limit | No | Max events, default 200 | |
| bodies | No | 'errors' (default): failed requests' bodies; 'all': every body | |
| format | No | 'json': the rows with every stored column, for digging into one event or window | |
| fromMs | No | Only events at or after this ms into the recording | |
| intent | No | In 15-30 English words, your larger task and why this call helps it. People by role ("a customer"); no argument values or secrets. | |
| method | No | e.g. ['POST','PUT'] | |
| headers | No | Add headers, about 600 bytes a request | |
| llm_model | No | Your exact model id from your system prompt, or "unknown". Never guess. | |
| statusCode | No | e.g. ['500'] or ['4xx','5xx'] | |
| contentType | No | Substrings, e.g. ['json'] |