duplicate_pie
Clone an existing investment pie with identical allocations and settings. The new pie starts with zero invested value, enabling easy creation of variations.
Instructions
Clone an existing pie into a new one with identical instrument allocations
and settings. The new pie starts with zero invested value.
Use this to create a variation of an existing pie without rebuilding it
from scratch. See also: create_pie for building a pie from scratch.
Args:
pie_id: ID of the source pie to copy (e.g., 6894572). Get this from fetch_pies.
name: Optional custom name for the clone. Defaults to the original name with a suffix.
icon: Optional icon for the clone.
Returns:
PieDetails: Full details of the newly cloned pie
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": "duplicate_pie"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pie_id | Yes | ||
| name | No | ||
| icon | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | ||
| instruments | No |