docs: refresh sessions_history safety refs

This commit is contained in:
Peter Steinberger
2026-04-04 19:20:34 +01:00
parent 39d9ded2e5
commit e42deea653
6 changed files with 37 additions and 0 deletions

View File

@@ -28,6 +28,14 @@ counts, and timestamps. Filter by kind (`main`, `group`, `cron`, `hook`,
`sessions_history` fetches the conversation transcript for a specific session.
By default, tool results are excluded -- pass `includeTools: true` to see them.
The returned view is intentionally bounded and safety-filtered:
- credential/token-like text is redacted before it is returned
- long text blocks are truncated
- very large histories can drop older rows or replace an oversized row with
`[sessions_history omitted: message too large]`
- the tool reports summary flags such as `truncated`, `droppedMessages`,
`contentTruncated`, `contentRedacted`, and `bytes`
Both tools accept either a **session key** (like `"main"`) or a **session ID**
from a previous list call.