add_price
Set the current market price of a non-stock asset like crypto or real estate. Resolves the asset name case-insensitively and converts the value to USD.
Instructions
Set the current price of ONE non-stock asset (crypto / commodity / real_estate / other). These assets have no market data provider, so their market value is entered manually — unlike stocks, which are auto-priced by sync (scope='prices'). Resolve name against the user's non-stock holdings (case-insensitive). value is in currency (default USD) and is converted to USD at today's date before storing. Calling it for a stock returns an error (stocks are auto-priced — use sync with scope='prices'); an unknown name returns a clear not-found error.
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": {
"name": "<name>",
"value": "<value>"
},
"name": "add_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The non-stock asset name as entered on its transactions (e.g. "Bitcoin", "Seoul apartment"). Matched case-insensitively against current holdings. | |
| value | Yes | Current price / market value of the asset, a positive number in `currency`. | |
| currency | No | Currency of `value` (USD/KRW/JPY/EUR/CNY/GBP/HKD/INR/TWD). Non-USD values are converted to USD via historical FX at today's date. | USD |