Debt Payments: Create debt-payment rule
create_debt_payment_rule Create a rule that auto-matches withdrawals on an asset account to a debt account.
When a transaction on `source_account_id` has a description containing
the `description_pattern` (case-insensitive substring), the system
creates a pending debt payment that the user can confirm or reject.
After the configured threshold of confirmations, matches auto-apply.
Args:
source_account_id: Asset account the payment leaves from (e.g. checking)
debt_account_id: Debt account the payment reduces (e.g. mortgage)
description_pattern: Substring to match on the source transaction (<=200 chars)
Returns:
Created or reactivated rule details
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": {
"source_account_id": "<source_account_id>",
"debt_account_id": "<debt_account_id>",
"description_pattern": "<description_pattern>"
},
"name": "create_debt_payment_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debt_account_id | Yes | ||
| source_account_id | Yes | ||
| description_pattern | Yes |