Plan or Replay a Recorded Session's Tool Calls
session-replayRead a recorded session trace to return a replay plan, then optionally re-issue plannable steps via the invoker while skipping mutating tools unless explicitly allowed.
Instructions
Read one session's recorded trace and (by default) return a structured plan; pass dryRun: false to actually re-issue each plannable step through the invoker. Tools that mutate game/host state are flagged blockedByDefault: true and are SKIPPED unless includeMutating: true is also set. Steps that originally failed are never replayed. The replayed steps themselves get recorded into the CURRENT session's trace, so you can chain saves into a playbook via playbook-save. session-replay refuses to call itself. Signature: { sessionId: string, from: number?, to: number?, includeMutating: boolean?, dryRun: boolean? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: explicit-mutation-approval. Produces: diagnostic-report. Verify with: assert-state. Safety: MUTATING; changes server-side persisted/session state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional numeric value for to. | |
| from | No | Optional numeric value for from. | |
| dryRun | No | When true (default) only returns the plan. False actually re-issues each step in order. | |
| sessionId | Yes | Session UUID from session-list. | |
| includeMutating | No | Allow flagged-mutating tools to be planned/executed. Default false. |