public_contracts_summary
Totals for one buyer or supplier in a year: number of contracts, total value, by procedure, top partners.
Args: entity: name or 9-digit NIF of a public body or a company. role: "buyer", "supplier" or "any". year: default this year. top: how many top counterparties to list.
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": {
"entity": "<entity>"
},
"name": "public_contracts_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| role | No | any | |
| year | No | ||
| entity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||