fetch_a_pie
Retrieve the detailed breakdown of a specific pie: instrument allocations, current vs target weights, per-instrument P/L, and pie settings using its numeric ID.
Instructions
Get full details for a single pie including every instrument allocation,
current vs target weights, per-instrument P/L, and pie settings.
Use fetch_pies first to get the list of pie IDs, then call this for
detailed breakdown of a specific pie.
Args:
pie_id: Numeric ID of the pie (e.g., 6894572). Get this from fetch_pies.
Returns:
PieDetails with settings (name, goal, endDate, dividendCashAction) and
instruments (ticker, expectedShare, currentShare, ownedQuantity, result)
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": {
"pie_id": "<pie_id>"
},
"name": "fetch_a_pie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pie_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | ||
| instruments | No |