analyze_abaninja_prices
What has actually been quoted, at what unit price, and how often it was accepted — grouped over the mirrored AbaNinja positions. Answers the question a price list is built from: which line items recur, how many different prices were charged for the same thing, and which of them turned into an accepted quote or a paid invoice. Requires sync_abaninja to have run; the result states how fresh the mirror is and how many documents are still missing their positions, because an analysis over half a stock is worse than none. Read-only, no API call.
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": "analyze_abaninja_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Document date to, YYYY-MM-DD. | |
| from | No | Document date from, YYYY-MM-DD. | |
| limit | No | Max groups returned (default 60). | |
| doc_type | No | Default 'quote'. | |
| min_occurrences | No | Only line items seen at least this often (default 2 — a one-off is not a price list entry). |