flightlog_tail
Fetch the most recent messages from a Claude Code session to see current agent activity. Use this for quick monitoring without searching keywords.
Instructions
Get the last N messages from a Claude Code session, most recent first. Use this to check what an agent is currently doing without needing keywords. Much faster than flightlog_get_session for active sessions — returns only recent activity instead of the full transcript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to return (default 20) | |
| block_type | No | Filter to a specific block type: text, thinking, tool_use, tool_result, or user_text | |
| session_id | Yes | Session UUID to tail (from flightlog_list_sessions results) | |
| snippet_length | No | Max characters per message snippet (default 500). Use 0 for no truncation. | |
| include_tool_io | No | Include tool_use inputs and tool_result outputs (default false — excluded to reduce noise) |