Read my last turn
read_my_last_turnRead the latest LLM turn in numbers: prompt and cached tokens, prefill and generation speed, stop reason, context use, VRAM fit, and prompt cache mismatch. Use it to budget the next call.
Instructions
What exactly happened on your latest turn through LLMxRay, in numbers: prompt tokens and cached share, prefill time and speed, generated tokens and speed, stop reason, prompt make-up (system, tools, history, new message), context requested, VRAM fit, and where the prompt stopped matching the previous turn. Four tools read your turns, one question each: diagnose_my_turns, is anything wrong (a verdict over several turns); read_my_last_turn, what exactly happened on the latest turn (one turn in full); list_my_turns, what happened turn by turn (the sequence, one line each); compare_my_turns, did a change help (before against after). Use it to budget the next call. For what is installed and loaded use list_local_models. Returns text, one fact per line. Explains how to route through 11435 when no turn was seen. client: a substring of the label LLMxRay shows, which is the name you set in X-LLMxRay-Client. On a shared machine the latest turn may be another tool's, so pass your own name. Omit it when you are the only caller. Needs LLMxRay running (npx llmxray) and says so if not. Under a second, from records already kept. No model is called.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_my_last_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Part of the client label or id, case-insensitive substring. Omit for the latest turn from any client. |