search_opportunities
Find federal contract opportunities by keyword, agency, set-aside, NAICS, state, type, value, and deadline. Returns typed results distinguishing no-match from failures.
Instructions
Search federal contract opportunities (beta.SAM.gov).
Filters: free-text query, agency, set-aside (small/8a/hubzone/wosb/sdvosb), NAICS (sector or 2-6 digit code), performance state (2-letter), opportunity type code, value range (USD), and response-deadline window. Returns typed results distinguishing no-match from an upstream failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| naics | No | ||
| query | No | ||
| state | No | ||
| agency | No | ||
| source | No | auto | |
| set_aside | No | ||
| type_code | No | ||
| max_value_usd | No | ||
| min_value_usd | No | ||
| due_within_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | sam_gov | |
| status | Yes | ||
| records | No | ||
| diagnostics | No | ||
| retrieved_at | No | ||
| total_records | No |