docketbird_download_files
Retrieve all documents for a case. Lists direct download links for each filing or saves files to a local folder in stdio mode.
Instructions
List or save every available document for a case.
A case can hold many large PDFs, so over a remote HTTP connection this returns
a list of per-document **direct download links** (pre-signed, short-lived)
rather than inlining every file — fetch the ones you need, or call
``docketbird_download_document`` for a single document's content. In local
stdio mode, passing ``save_path`` instead streams every file to that folder on
your own machine.
When to use:
- User wants the complete case file archive
- Bulk document retrieval
- Surveying which filings are available to download
Args:
case_id: DocketBird case ID
save_path: Local folder to save into. Only honored in local stdio mode,
where the server shares your filesystem. Over a remote HTTP
connection it is ignored and download links are returned instead.
Returns:
str: Markdown. Remote (or local with no save_path) lists each available
document's title, ID, and direct download URL, plus counts of
restricted/unavailable filings. Local stdio with save_path reports how
many files were saved to disk and any that were skipped or failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | ||
| save_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |