jp_lit_export_session
Export a research session to a Markdown, JSON, or CSL-JSON file for later review. Specify the session ID and optional output path to create a readable record without modifying the session.
Instructions
export/write file。session_id で明示した調査セッションを repo 内の exports/ または output_path に書き出す。既定は Markdown で、人間が読み返しやすい形に整形する。session は読み取るだけで変更しない。cache 一覧や再抽出結果だけを書き出す場合は jp_lit_export_view を使う
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 出力形式。markdown は人間向け、json は完全な構造化ログ、csl-json は文献管理向け。 | markdown |
| profile | No | 書き出す範囲。full_log は全履歴、selected は選別済み候補、unselected は未選別候補。 | full_log |
| overwrite | No | true の場合のみ既存ファイルの上書きを許可する。 | |
| session_id | Yes | 書き出す調査セッションID。 | |
| output_path | No | 出力先ファイルパス。未指定なら repo 内 exports/ に自動生成する。 | |
| include_unselected | No | markdown/json の full_log で未選別候補を含めるかどうか。 | |
| allow_external_path | No | true の場合のみ repo 内 exports/ 外への書き出しを許可する。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| profile | Yes | ||
| item_count | Yes | ||
| session_id | Yes | ||
| exported_at | Yes |