Build a policy-bounded treasury plan
strategy_createPlanValidates wallet snapshot and opportunities, applies hard gates, ranks, includes liquid baseline, and creates a short-lived typed allocation plan.
Instructions
Validate a server-produced wallet snapshot and opportunity set, apply deterministic hard gates before ranking, include the liquid baseline, and create a short-lived typed plan. Caller-provided addresses never become trusted execution targets.
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": {
"snapshot": "<snapshot>",
"opportunities": "<opportunities>",
"amount": "<amount>"
},
"name": "strategy_createPlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| policy | No | ||
| snapshot | Yes | ||
| opportunities | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| stage | Yes | ||
| intent | Yes | ||
| policy | Yes | ||
| approval | No | ||
| snapshot | Yes | ||
| createdAt | Yes | ||
| receiptId | Yes | ||
| updatedAt | Yes | ||
| policyHash | Yes | ||
| simulation | No | ||
| opportunities | Yes | ||
| verifications | Yes | ||
| walletAddress | Yes | ||
| receiptVersion | Yes | ||
| scoreBreakdown | Yes | ||
| finalReceiptHash | Yes | ||
| eligibleCandidates | Yes | ||
| rejectedCandidates | Yes | ||
| preparedTransaction | No | ||
| selectedOpportunity | Yes |