This commit is contained in:
@@ -38,6 +38,10 @@ movements:
|
||||
- テキストが抽出できた場合 → そのまま加工に進む
|
||||
- 全ページが空テキスト(スキャン PDF)の場合 → PdfToImages でページ画像化し、ReadImage で内容を確認する(ReadImage は VLM 対応 worker でのみ利用可能)
|
||||
|
||||
**Outlook メール (.msg)**:
|
||||
- ReadMsg で件名・差出人・宛先・本文を取得。添付は input/ に保存される
|
||||
- 保存された添付は ReadPdf / ReadExcel / ReadImage など種別ごとのツールで開く
|
||||
|
||||
## Office ファイルの加工方針
|
||||
|
||||
Excel (.xlsx) の編集:
|
||||
@@ -63,7 +67,7 @@ movements:
|
||||
- **追加情報が必要で同じ process を続行**: `transition({next_step: "process", summary: "..."})`
|
||||
- **対象が特定できずユーザー確認が必要**: `complete({status: "needs_user_input", missing_info: "...", why_no_default: "..."})`
|
||||
- **読み取り不能・対応外フォーマット等の技術的失敗**: `complete({status: "aborted", abort_reason: "..."})`
|
||||
allowed_tools: [Read, Write, Bash, Glob, Grep, ReadExcel, ReadDocx, ReadPdf, ReadPPTX, SplitExcelSheets, SplitDocxSections, PdfToImages, ReadImage, WebSearch, WebFetch, DownloadFile, SQLite, TranscribeAudio, SearchKnowledge, ListNamespaces, ListDocuments, ReadToolDoc, 'mcp__*']
|
||||
allowed_tools: [Read, Write, Bash, Glob, Grep, ReadExcel, ReadDocx, ReadPdf, ReadPPTX, ReadMsg, SplitExcelSheets, SplitDocxSections, PdfToImages, ReadImage, WebSearch, WebFetch, DownloadFile, SQLite, TranscribeAudio, SearchKnowledge, ListNamespaces, ListDocuments, ReadToolDoc, 'mcp__*']
|
||||
default_next: verify
|
||||
rules:
|
||||
- condition: output/ に成果物を書き出した(または既存ファイルを編集した)
|
||||
@@ -112,7 +116,7 @@ movements:
|
||||
- 合格: `complete({status: "success", result: "ユーザー向け最終回答"})`
|
||||
- 修正必要: `transition({next_step: "process", summary: "差し戻し指摘"})` (上記形式で)
|
||||
- 技術的失敗: `complete({status: "aborted", abort_reason: "..."})`
|
||||
allowed_tools: [Read, Glob, Grep, ReadPdf, ReadImage, ReadExcel, ReadDocx, ReadPPTX, ReadToolDoc]
|
||||
allowed_tools: [Read, Glob, Grep, ReadPdf, ReadImage, ReadExcel, ReadDocx, ReadPPTX, ReadMsg, ReadToolDoc]
|
||||
default_next: COMPLETE
|
||||
rules:
|
||||
- condition: 成果物がない、または内容に不足・誤りがある
|
||||
|
||||
Reference in New Issue
Block a user