microdata_wait_for_extract
Poll an IPUMS microdata extract until it completes, then get the final extract with download links. Returns early with status after 90 seconds to avoid blocking.
Instructions
Poll a microdata extract until it completes (or fails). Returns the final extract object including downloadLinks when done. Default timeout is 90 seconds — if the extract is still running at that point the tool returns early with the current status and a command to check back later, so the conversation is not blocked for large extracts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | API version (default: v2) | v2 |
| collection | Yes | IPUMS microdata collection (e.g. 'usa', 'cps') | |
| extractNumber | Yes | Extract number to wait for | |
| timeoutSeconds | No | Maximum seconds to wait before returning early (default: 90). Increase only if the user explicitly agrees to wait longer. | |
| pollIntervalSeconds | No | Seconds between status checks (default: 15, min: 5) |