update_custom_investment
Modify an existing custom investment in your Sharesight portfolio by updating its code, name, face value, interest rate, payment schedule, or income settings.
Instructions
Updates an existing custom investment
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": {
"id": "<id>"
},
"name": "update_custom_investment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The custom investment ID | |
| code | No | The investment code | |
| name | No | The name of the custom investment | |
| portfolio_id | No | Portfolio ID to associate with | |
| face_value | No | Face value per unit | |
| interest_rate | No | Interest rate | |
| income_type | No | DIVIDEND or INTEREST | |
| payment_frequency | No | Payment frequency | |
| first_payment_date | No | First payment date YYYY-MM-DD | |
| maturity_date | No | Maturity date YYYY-MM-DD | |
| auto_calc_income | No | Auto-populate income payments |