link_transaction_to_portfolio
Link an existing regular transaction to an investment portfolio as a cash transfer. An expense transaction moves cash from its account into the portfolio; an income transaction moves cash from the portfolio to its account. The transaction must not already be a transfer or linked to a portfolio. Returns the created portfolio transfer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portfolioId | Yes | Portfolio ID (from get_portfolios) | |
| transactionId | Yes | ID of the existing transaction (from search_transactions) |