jp_lit_export_session
Export current or past research sessions from Japanese literature searches as Markdown, JSON, or CSL-JSON files for human review or reference management.
Instructions
export/write file。現在の調査セッション、または session_id で指定した過去セッションを repo 内の exports/ または output_path に書き出す。既定は Markdown で、人間が読み返しやすい形に整形する。session は読み取るだけで変更しない。cache 一覧や再抽出結果だけを書き出す場合は jp_lit_export_view を使う
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | 書き出す過去セッションID。未指定なら現在の調査セッションを書き出す。 | |
| format | No | 出力形式。markdown は人間向け、json は完全な構造化ログ、csl-json は文献管理向け。 | markdown |
| profile | No | 書き出す範囲。full_log は全履歴、selected は選別済み候補、unselected は未選別候補。 | full_log |
| output_path | No | 出力先ファイルパス。未指定なら repo 内 exports/ に自動生成する。 | |
| include_unselected | No | markdown/json の full_log で未選別候補を含めるかどうか。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| format | Yes | ||
| profile | Yes | ||
| path | Yes | ||
| exported_at | Yes | ||
| item_count | Yes |