Contract rows of a line
assay_line_contractsAll contract rows of one line of business with the buying office's contact, end dates and amounts. Needs an Enterprise Data key: X-API-Key header on the MCP request (https://assay-systems.com/api-key/#data).
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": {
"country": "<country>",
"id": "<id>"
},
"name": "assay_line_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record id as given by assay_search (the part after the country in the endpoint). | |
| page | No | Page of the result list (default 1). | |
| buyer | No | Words of the buyer's name. | |
| country | Yes | Two-letter country code in lower case, e.g. ca, us, gb, ua. assay_countries lists them. | |
| ends_before | No | YYYY-MM-DD: only contracts ending before this day. |