Files
sure/app/models/assistant/function/get_transactions.rb
SenaRinka / 陶音まの aec851cae1 Add transaction name to get_transactions MCP tool output (#2026)
* fix(assistant): include transaction name in get_transactions MCP output

get_transactions already loads `entry = txn.entry` but only emits
`merchant`, which is null unless a merchant is assigned. As a result MCP
clients receive transactions with no identifying name. Add `entry.name`
(the description shown in the UI and returned by the REST API) at zero
extra query cost.

* fix(assistant): include transaction name in get_transactions MCP output

get_transactions already loads `entry = txn.entry` but only emits
`merchant`, which is null unless a merchant is assigned. As a result MCP
clients receive transactions with no identifying name. Add `entry.name`
(the description shown in the UI and returned by the REST API) at zero
extra query cost.
2026-06-16 16:52:39 +02:00

5.4 KiB