AI Document Workflow
文書スキャン → AI表抽出 → CSV
撮影した文書を補正し、AIで表構造を検出してCSVへ出力します。
document-scanner
→ai-table-extractor
入力Document image
最終結果CSV File
使用 Tooldocument-scanner → ai-table-extractor
完全なコード
const scanned = await client.run("document-scanner", { file: photoFile });
const table = await client.run("ai-table-extractor", { file: scanned.files[0] });
const csvFile = table.files[0];
このレシピを変更する前に client.describe(toolId) または Tool Reference でファイル制限、オプション値、対応モードを確認してください。