getConsoleLogs
The Jam's console output as text, one message per line: [M:SS #index] level: message, with the stack trace and source under it. logLevel (['error','warn'] for problems) and limit filter server-side; the first line gives the match count, and a More: line the cursor for the next page.
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": "getConsoleLogs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toMs | No | Only events at or before this ms into the recording | |
| after | No | From the previous page's `More:` line | |
| jamId | Yes | Jam identifier — a UUID or a jam.dev URL | |
| limit | No | Max events, default 200 | |
| 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. | |
| logLevel | No | e.g. ['error','warn'] | |
| llm_model | No | Your exact model id from your system prompt, or "unknown". Never guess. |