add_portfolio_position
Record a stock purchase with automatic cost basis averaging by providing ticker, shares, and purchase price.
Instructions
Add a position to your portfolio with automatic cost basis averaging.
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": {
"ticker": "<ticker>",
"shares": "<shares>",
"purchase_price": "<purchase_price>"
},
"name": "add_portfolio_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol | |
| shares | Yes | Number of shares purchased | |
| purchase_price | Yes | Price per share at purchase | |
| purchase_date | No | Date of purchase (YYYY-MM-DD format, optional) | |
| notes | No | Optional notes about the position |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||