Add Holding
add_holdingAdd a precious metals purchase to your portfolio
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": {
"api_key": "<api_key>",
"metal": "<metal>",
"quantity": "<quantity>",
"weight_oz": "<weight_oz>",
"purchase_price": "<purchase_price>"
},
"name": "add_holding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Product name (e.g. "2024 American Silver Eagle") | |
| metal | Yes | Metal type | |
| api_key | Yes | TroyStack API key (required) | |
| quantity | Yes | Number of pieces | |
| weight_oz | Yes | Weight per piece in troy ounces | |
| purchase_date | No | Purchase date YYYY-MM-DD (default: today) | |
| purchase_price | Yes | Price per piece in USD |