get_context_timeline
Inspect a session's context timeline to see an ordered, categorized breakdown of all inputs—system prompts, user turns, tool calls—with token estimates and visibility flags.
Instructions
Ordered, categorized breakdown of everything that entered ONE session's context window.
Each block (system prompt, tool specs, injected context, user turns, reasoning, tool calls/results, final answer) is marked user-visible vs invisible overhead, with cumulative character-based token estimates against the model's real window size. Use for context-window composition analysis; use get_session_metrics for exact provider token usage. The estimates here are character-based, not exact Bedrock counts.
session_id: id from get_recent_sessions / record_session.
Returns [] for an unknown or non-owned session, or one recorded without the optional context_blocks field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |