save_material
Save a document to a fund's Materials directory. Detects duplicates and stores changed content under a dated name, preventing overwrites.
Instructions
Download one document into the fund's Materials directory. Never overwrites earlier documents: identical content is reported as 'duplicate', changed content is stored under a dated name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Document URL (fact sheet, prospectus, KID, index methodology, ...) | |
| fund_id | Yes | FundsDataSets.ID the document belongs to | |
| filename | No | Override the stored file name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||