添付ファイル取得
get_attachmentRetrieves attachments (images, PDF, ZIP) for a given law revision ID via e-Gov API, saves them locally, and returns the file path. Use optional src to target a specific attachment.
Instructions
法令改正IDを指定して法令本文の添付ファイル(画像・PDF・Zipなど)を取得し、一時ファイルに保存してそのパスを返す(e-Gov法令API v2 GET /attachment/{law_revision_id})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src | No | 添付ファイルの指定(本文中の参照名) | |
| law_revision_id | Yes | 法令改正ID |