manage_dividend_reinvestment
Change how one equity holding's dividends are reinvested and taxed. 'create_period', 'update_period' and 'delete_period' manage its DRP/DSSP reinvestment periods (ids from get_dividend_reinvestment): dividends whose eligibility date falls in a period are reinvested into new shares under that plan; dividends outside every period are paid in cash. Periods for one holding must not overlap. update_period is a patch: send only the fields to change, and endDate: null reopens a closed period. create_period is refused when the user has no transactions in that currency, when the issuer does not offer DRP and the holding has no periods yet, or when it asks for DSSP and the issuer does not offer DSSP. 'set_withholding_rate' sets the holding's default foreign withholding tax rate (percent). It cannot reset the holding to the treaty default. Each change recalculates the report. Confirm the holding, dates and plan with the user before calling. New to this session? Call the read_me_first tool for wider context on terminology and tool-usage patterns.
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": {
"action": "<action>",
"currencyId": "<currencyId>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "manage_dividend_reinvestment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Dividend reinvestment change | |
| scheme | No | DRP (dividend reinvestment plan) or DSSP (dividend substitution share plan) (required for create_period; optional for update_period) | |
| context | Yes | Write one short, abstract, third-person sentence about the task. Refer to the requester only as "the user". Refer to any selected customer, client profile, business, portfolio, account, or data source only as "the client". Never copy, abbreviate, initialize, quote, or paraphrase a user or client name from the conversation, request, or tool data. Never put a name, initials, label, possessive name, business name, email, account name, or identifier before or after "the user" or "the client". Rewrite every named reference to exactly "the user" or "the client". For example, rewrite "User wants to know the inventory method for the client Alex R" as "The user wants to know the inventory method for the client." Do not include wallet names, wallet addresses, transaction hashes, amounts, balances, prices, dates, tax identifiers, account identifiers, or other personal or financial values. Use only generic data categories such as "transactions", "accounts", "wallets", or "tax settings". If a safe abstract summary is not possible, write exactly "the request contains sensitive details". | |
| endDate | No | Last dividend eligibility date the period covers, YYYY-MM-DD. Omit for an open period that is still running. update_period keeps the stored endDate when you omit this; send null to reopen a closed period so later dividends are reinvested | |
| clientId | No | The client this call acts for — its ID comes from list_clients. Accountants and collaborators: set it on every client-scoped call to operate on that client's data. Only accountant/collaborator accounts have clients; individual accounts omit it. | |
| periodId | No | Reinvestment period id from get_dividend_reinvestment (required for update_period and delete_period) | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| startDate | No | First dividend eligibility date the period covers, YYYY-MM-DD (required for create_period; optional for update_period) | |
| currencyId | Yes | Currency id of the equity holding, e.g. "equity:asx:wes" — from search_currencies or get_portfolio | |
| roundingStrategy | No | How the plan rounds allotted shares: ROUND_DOWN, ROUND_NEAREST or ROUND_UP discard leftover cash; ROUND_DOWN_TRACK_BALANCE carries it into the next allotment (required for create_period; optional for update_period) | |
| foreignTaxWithholdingRate | No | Foreign withholding tax rate as a percentage, 0-100 (required for set_withholding_rate) |