search_opportunities
Find contract opportunities by searching solicitations and award notices, then filter by agency, NAICS, set-aside, dates, and active status to shortlist relevant bids.
Instructions
Search for contract opportunities (solicitations and award notices).
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 |
|---|---|---|---|
| q | No | Full-text search on opportunity title and description | |
| cgac | No | Filter by agency CGAC code | |
| page | No | Page number (1-based) | |
| active | No | Filter by active status (true=open, false=closed) | |
| sort_by | No | Sort field (default: posted_date) | |
| sort_dir | No | asc or desc (default: desc) | |
| page_size | No | Results per page (max 200) | |
| naics_code | No | Filter by NAICS code | |
| notice_type | No | Filter by notice type, e.g. Solicitation, Presolicitation, Award Notice | |
| posted_after | No | ISO date — only notices posted after this date (YYYY-MM-DD) | |
| posted_before | No | ISO date — only notices posted before this date (YYYY-MM-DD) | |
| deadline_after | No | ISO date — only notices with deadline after this date (YYYY-MM-DD) | |
| set_aside_code | No | Filter by set-aside code, e.g. SBA, 8A, HZC, SDVOSBC, WOSB | |
| deadline_before | No | ISO date — only notices with deadline before this date (YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Current page number (1-based) | |
| items | Yes | Opportunity notices matching the query | |
| total | Yes | Total number of matching notices across all pages | |
| page_size | Yes | Number of items per page |