Plan upgrades across a shared collection
plan_collectionPlan upgrades for 2–3 Commander decks in priority order with a shared inventory and USD purchase budget. Returns allocation, proposed swaps, and an optional cart. Supports fresh inputs, a portable backup, or restoration by private plan ID.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "plan_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| decks | No | ||
| owned | No | Total collection inventory, including copies used by all submitted decks. Up to 150 quantity-prefixed entries and 100 copies per canonical card. | |
| planId | No | ||
| qaTest | No | Internal QA only: set true when the user explicitly says this is our test run. Excludes the call from usage/revenue statistics. Omit for normal player requests. | |
| saveName | No | ||
| budgetUsd | No | ||
| savedPlan | No | ||
| searchContext | No | Optional opaque context from a preceding card search for attributing a related request. |