Accept suggestions
accept-suggestionsTake the suggestion on every open bank line the filters select, oldest first: each is classified to its suggested_element_id through the same update a single line goes through, and posted too with commit: true. Select by source, agent_id, suggestion_source (agent_default for the learned ones), a date range, or explicit event_ids from a multi-select. A line it cannot take — no suggestion to take, already classified or posted, a closed month, a choice the handler refuses — comes back skipped with the reason, never forced. dry_run: true reports the counts without writing; limit bounds a call and truncated says more matched.
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": "accept-suggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | At most this many lines per call, oldest first; `truncated` in the response says whether more matched. | |
| commit | No | Post each taken line as well (captured → committed). Off, the lines are classified and wait for a person to post them. | |
| source | No | Only lines from this feed (`plaid`, `mercury`). | |
| dry_run | No | Report what each line would do without writing. A closed month is found only when a line actually posts, so a real run can still skip one a dry run counted. | |
| agent_id | No | Only one counterparty's lines. | |
| entity_id | No | The entity whose inbox to act on. Omit for the group parent. | |
| event_ids | No | Explicit lines, as from the inbox's multi-select; each is answered, even one that cannot be taken. The other filters still narrow them. | |
| occurred_to | No | Only lines dated on or before this day. | |
| occurred_from | No | Only lines dated on or after this day. | |
| suggestion_source | No | Only lines whose suggestion came from here: `open_item` (an open bill or invoice the line pays exactly), `agent_default` (the counterparty's learned default) or `tier0` (the bank's category). |