resolve_defi_intent
Resolve legacy typed DeFi intents for swaps, deposits, staking, liquidity, withdrawals, and claims. Use for backward-compatible execution; create durable intents for new state-changing actions.
Instructions
[Capability: paid_ready; tier: pioneer_plus; API: /api/v1/agent/intent; authority: /api/v1/agent/status] Compatibility: resolve a legacy typed DeFi intent. New state-changing actions should create a durable FarmDashIntent and use the policy/simulation/approval lifecycle.
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": {
"action": "<action>",
"protocolId": "<protocolId>",
"chainId": "<chainId>",
"tokenIn": "<tokenIn>",
"amountIn": "<amountIn>",
"userAddress": "<userAddress>"
},
"name": "resolve_defi_intent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| chainId | Yes | ||
| tokenIn | Yes | ||
| amountIn | Yes | ||
| deadline | No | ||
| slippage | No | ||
| tokenOut | No | ||
| amountOut | No | ||
| toChainId | No | ||
| protocolId | Yes | ||
| constraints | No | ||
| poolAddress | No | ||
| userAddress | Yes |