Watch a procurement
watch_procurementWatches a procurement (requires the token edm_…): takes a snapshot now and records the events of correction, new document, suspension, postponed deadline and value, plus deadline notices. The checks are periodic; check the date of the last check in the watch. The notices prazo_impugnacao (on the day) and prazo_proposta (24 h before) go out once each.
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": {
"compra_id": "<compra_id>"
},
"name": "watch_procurement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canal | No | pull, webhook or email (default pull). | pull |
| destino | No | HTTPS webhook URL. Ignored for pull and email. | |
| compra_id | Yes | Procurement id (from the search). |