get_payment_patterns
Use this when the user asks which customers or suppliers pay late or early, and in which currency. Returns detected payment timing patterns by counterparty and currency where available, or derives a conservative summary from settled invoice dates. Do not use for realised FX gains or losses: this tool reports timing only.
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": "get_payment_patterns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ISO 4217 code to filter to one currency (e.g. 'EUR', 'USD'). Omit for all currencies. | |
| entity_id | No | Specific entity ID from list_entities. Omit for the whole workspace (all entities). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific payload. Null when connection_status.state is 'setup_required'. | |
| connection_status | Yes |