Search procurement processes
search_processesSearch SECOP II public procurement processes by place, category, entity, budget, state and date. Returns newest matches first with total counts for market research and tender discovery.
Instructions
Search SECOP II processes by place, category, entity, budget, state and date. Returns the newest matches first plus the total number of matching processes.
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_processes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City of the contracting entity, e.g. "Ibagué". Partial match. | |
| limit | No | How many processes to return (default 10, max 50). | |
| state | No | Process state, e.g. "Publicado", "Adjudicado". Partial match. | |
| entity | No | Name of the contracting entity. Partial match. | |
| offset | No | Skip this many results, for paging. | |
| unspsc | No | UNSPSC category code. Accepts "82141500", "V1.82141500" or a shorter family like "8214" (prefix match). | |
| awarded | No | true = only awarded processes, false = only not-yet-awarded. | |
| keyword | No | Full-text search across the whole record (title, description, entity). | |
| modality | No | Procurement modality, e.g. "Licitación", "Contratación directa". Partial match. | |
| last_days | No | Shorthand for published_since = today minus N days. | |
| open_only | No | Only processes whose opening state is "Abierto". | |
| department | No | Department of the contracting entity, e.g. "Tolima". Partial match. | |
| entity_nit | No | Exact NIT of the contracting entity, digits only. | |
| contract_type | No | Contract type, e.g. "Prestación de servicios", "Obra". Partial match. | |
| max_value_cop | No | Maximum estimated budget in COP. | |
| min_value_cop | No | Minimum estimated budget in COP. | |
| include_drafts | No | Include processes in "Borrador" state. Off by default: drafts were never offered to the market. | |
| published_since | No | Only processes published on or after this date (YYYY-MM-DD). | |
| published_until | No | Only processes published on or before this date (YYYY-MM-DD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | Yes | The SoQL predicate that was executed. Useful for auditing a result. | |
| returned | Yes | ||
| processes | Yes | ||
| total_matching | Yes | Total processes matching the filters, ignoring limit/offset. |