get_transcript
Read the transcript of an active or named local recording session, even mid-recording, and poll new text incrementally using an offset.
Instructions
Read the transcript for the active (or named) session.
Safe to call mid-recording — the transcript file is line-buffered. Use
since_offset to poll incrementally (pass back the end_offset from the
prior call to fetch only new content).
Args: session_id: optional. Defaults to active session, else most recent. tail_lines: if set, return only the last N lines. since_offset: if set, return only bytes after this offset in the file. tail_lines takes precedence if both are provided.
Returns: {session_id, text, end_offset, line_count, is_recording, last_modified}
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": "get_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| tail_lines | No | ||
| since_offset | No |