search_opportunities
Search U.S. federal government contract opportunities from SAM.gov. Returns recent procurement notices with title, department, deadline, and source URL. Data is updated daily. License: Public Domain (SAM.gov). Requires an api_key — call register_agent first if you don't have one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>"
},
"name": "search_opportunities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to search (1-365, default: 7) | |
| limit | No | Number of opportunities to return (1-100, default: 10) | |
| api_key | Yes | GovBid API key (X-API-Key). Required for authentication. If you don't have one, call register_agent first. | |
| department | No | Filter by agency/department name (partial match). Examples: 'DEFENSE', 'NAVY', 'ARMY', 'INTERIOR', 'HEALTH' |