search_opportunities
Search active SAM.gov federal contract opportunities by keyword, agency, NAICS/PSC, set-aside, state, and deadline to surface relevant notices newest first.
Instructions
Search active SAM.gov federal contract opportunities. Returns notices newest first, with agency, deadline, NAICS, PSC, set-aside, place of performance, primary contact and SAM.gov link (award notices also include the awardee and amount).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | 'compact' (key fields) or 'full' (description, all contacts, attachment links). | compact |
| states | No | Two-letter place-of-performance states, e.g. ['CO', 'UT']. | |
| agencies | No | Agency or department names, e.g. ['Department of Veterans Affairs', 'Army']. | |
| keywords | No | Words to search in title and description, e.g. 'roof repair'. | |
| psc_codes | No | Product/Service codes or prefixes, e.g. ['DA01'], ['65'], ['Z2']. | |
| set_asides | No | Set-aside codes: SBA (total small business), SBP (partial), 8A, 8AN (8(a) sole source), HZC (HUBZone), SDVOSBC (service-disabled veteran), WOSB, EDWOSB, VSA (VA veteran-owned), ISBEE, IEE, LAS, or NONE. Friendly names like 'HUBZone' or 'SDVOSB' also work. | |
| max_results | No | Maximum notices to return. Each costs $0.003. | |
| naics_codes | No | NAICS codes or prefixes, e.g. ['541512'] or ['2362', '238']. | |
| notice_types | No | Only these notice types. Default: all. | |
| posted_since | No | Only notices posted or updated on or after this date (YYYY-MM-DD). Default: last 7 days. | |
| deadline_within_days | No | Only notices whose response deadline is within this many days. | |
| open_for_response_only | No | Only notices with a future response deadline (drops awards and notices without a deadline). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||