Ingest a document into the engagement
ingest_documentExtract and ingest document candidates (risks, requirements, etc.) into the current engagement. Preview by default; apply=true saves with source references and skips duplicates.
Instructions
既存ドキュメント(path)またはクライアントが読んだ本文(text)から抽出した候補を、現在のエンゲージメントに取り込む。既定(apply=false)はプレビューのみで一切書き込まない。apply=true で実際に登録し、各項目に出典(ファイル名:行番号)を残す。同じ表題の既存項目はスキップする。 / Ingest candidates extracted from a document into the current engagement. The default (apply=false) previews only and writes nothing. With apply=true each item is stored with its source reference (file:line); entries whose title already exists are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 抽出する種別。auto(既定)は全種別 / What to extract; "auto" (default) runs every kind | auto |
| lang | No | 出力言語 / Output language | both |
| path | No | 読み込むファイルの絶対パス(作業ディレクトリ / データディレクトリ / ホーム配下のみ。隠しディレクトリ配下は不可。最大 1,024 文字) / Absolute path of the file (must sit under the working directory, the data directory, or your home directory; hidden directories are excluded; at most 1,024 characters) | |
| text | No | ファイルの代わりに直接渡す本文。**あなたが既に読んで理解している本文をここに貼り直しても、読解の精度は上がりません**(この走査はキーワードと文末表現だけを見ており、あなたの読解より劣ります)。ここが役に立つのは、抽出した項目を**出典行番号付きの表と登録用 JSON の形に機械的に整えたい**ときだけです。path とはどちらか一方を指定する。 / Body text to scan instead of a file. **Pasting text you have already read does not improve accuracy** — this scan only looks at keywords and sentence endings, and it will be worse than your own reading. It is useful only when you want the result formatted mechanically, with source line numbers and register-ready JSON. Pass either this or path, not both. | |
| apply | No | true で実際に保存する(既定 false はプレビュー) / Set true to actually persist; default false previews | |
| source | No | text を渡すときの出典名(出典表示に使う。例: "security-report.pdf p.12-18") / Label for the text you passed; it appears in the source column (e.g. "security-report.pdf p.12-18") |