Import new sessions
wiki_syncConverts new agent sessions from local stores into markdown under raw/sessions/. Previews changes by default and only writes new files with dry_run=false and confirm=true; use it when recent sessions are missing.
Instructions
Convert new agent sessions (Claude Code, Codex, Cursor, ZCode, OpenCode, ...) from their local session stores into markdown under raw/sessions/. Dry run by default: it only reports what would change. It writes only with dry_run=false and confirm=true; ask the user before that. A real run adds new files and never overwrites existing ones, so repeating it is safe; it may also rebuild site/. Returns the converter's output (last 256 KB) and fails after 120 s. Use it when wiki_list_sources lacks recent sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to actually write. Without confirm=true the call always runs as a dry-run regardless of dry_run. | |
| dry_run | No | If true (default), preview without writing. Set false ONLY together with confirm=true. |