download_file
Downloads a PDF report from Re:portFlow using a request ID and file ID, saving it to your workspace or specified directory.
Instructions
generate_pdf_asyncで生成した単一PDFファイルをダウンロードします。requestIdとfileIdを指定し、ローカルファイルパスを返します。outputDir を指定するとそのディレクトリに、未指定の場合は現在の作業ディレクトリに保存します。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"requestId": "<requestId>",
"fileId": "<fileId>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | Yes | generate_pdf_asyncで返されたrequestId(UUID) | |
| fileId | Yes | generate_pdf_asyncのfiles[].fileId | |
| fileName | No | 保存ファイル名(省略時はfileId.pdf) | |
| outputDir | No | 出力先ディレクトリ (相対/絶対)。未指定時はクライアントのワークスペース (Roots) または現在の作業ディレクトリに保存。ユーザーが場所を指定した場合のみセットすること。 |