{"server_version":"0.53.2","catalog_revision":"2026-10-21.legacy-route-removal","catalog_digest":"e7f3fcf40dfe","mcp_endpoint":"https://mcp.ekubo.org/mcp","tool_count":99,"tools":[{"name":"list_tokens","title":"List Ekubo tokens","description":"First step for symbol-based swaps, including tokenized stocks and stablecoins: list canonical Ekubo tokens by descending visibility_priority, so the preferred token wins an ambiguous symbol. Use search for a symbol prefix or suffix and min_visibility_priority to reach tokens the interface hides.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Restrict the list to one EVM chain; omit to list tokens across every indexed chain","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"search":{"description":"Case-insensitive token symbol prefix or suffix match; omit to list the whole canonical set. Symbols only, not names or addresses","type":"string","minLength":1,"maxLength":32},"min_visibility_priority":{"description":"Lowest visibility_priority to include; defaults to 0, the interface threshold. Pass a negative value to reach tokens the interface hides","type":"integer","minimum":-100,"maximum":100},"page_size":{"description":"Maximum tokens to return; defaults to 20","type":"integer","minimum":1,"maximum":1000},"after_token":{"description":"Keep only tokens whose (chain_id, address) pair sorts after this <chain_id>:<address> identifier. Results are ordered by visibility_priority rather than by that pair, so this filters the candidate set instead of continuing a page boundary","type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+):0x[0-9a-fA-F]+$"}},"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"}},"additionalProperties":{}}}},"required":["tokens"],"additionalProperties":{}}},{"name":"export_tokens","title":"Export Ekubo tokens for a wallet","description":"Return a token_list_reference envelope (chain ID, address, symbol, name, decimals) and its count, with no entries, so a wallet can import token names; pass it unchanged as the wallet tool's reference argument. complete=false means the export is a prefix of the chain's list. Use list_tokens to read entries yourself.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Export only this chain; almost always pass it, since a wallet holds names for the chain it is on. Ethereum alone has about 5,600 tokens","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"max_tokens":{"description":"Defaults to 1,000, what a wallet accepts in one import; a larger export is refused whole, not truncated","type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token_list_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"complete":{"type":"boolean"}},"required":["token_list_reference","count","complete"],"additionalProperties":{}}},{"name":"get_token","title":"Get an Ekubo token","description":"Fetch canonical token metadata for an exact chain and address.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]+$","description":"EVM or Starknet token address"}},"required":["chain_id","address"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"object","properties":{"chain_id":{"type":"string"}},"additionalProperties":{}}},"required":["token"],"additionalProperties":{}}},{"name":"get_tokens","title":"Get multiple Ekubo tokens","description":"Fetch canonical metadata for up to 1,000 token identifiers in one batch request, preserving input order; identifiers absent from the canonical list are omitted.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tokens":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]+$","description":"EVM or Starknet token address"}},"required":["chain_id","address"],"additionalProperties":false},"description":"Entries may span chains"}},"required":["tokens"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tokens":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"}},"additionalProperties":{}}}},"required":["tokens"],"additionalProperties":{}}},{"name":"get_quotes_with_plans","title":"Get swap or bridge quotes with execution plans","description":"A quote, execution plan, simulation or wallet approval is not permission to trade. Robinhood Stock Tokens are tokenised debt securities subject to issuer restrictions and applicable law. Before requesting signatures or submitting approvals or trades, establish the user's relevant jurisdiction and eligibility, including location, residence or entity incorporation, US-person status under Regulation S, any person for whose account or benefit the transaction is made, and issuer Prohibited Investor restrictions. Never infer these facts from an agent or server IP. If required facts or asset-policy coverage are unknown, do not proceed. Only the user or an authorized representative of the actual investor may provide an explicit factual attestation; an agent must not attest on their behalf. A known prohibited fact cannot be overridden by attestation. An attestation is not a license, legal exemption or substitute for required screening. Keep the attestation client-side; do not send it to the quote API or MCP server. No blanket disposal exemption applies. The whole non-browser swap path for onchain swap, trade, exchange, or convert requests on supported EVM chains: one call returns every available quote (Ekubo and 0x same-chain; Across, LayerZero and LI.FI cross-chain), each carrying the execution_plan_reference that executes it. Pass the chosen option's execution.execution_plan_reference unchanged as the wallet's reference argument; there is no second preparation step. Do not call this tool again for an option it already prepared; call again only after a revert, an expiry, or a change to the request. Omit sender and slippage_bps for an indicative comparison; supply both for plans. Size slippage_bps by its own rule. Never retry reverted calldata unchanged. For an all, max, or entire-balance swap, quote the exact input-token balance from the wallet's balance tool. Simulate the chosen plan once, show the user that result, and send that same simulation. Compare options on amount_out together with native_fee, which LayerZero charges outside amount_out. Confirm LayerZero or LI.FI delivery with get_value_transfer_status. Failed providers are listed in unavailable_sources.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"destination_chain_id":{"description":"Destination chain; defaults to chain_id for a same-chain swap","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"token_in":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{1,40}|eip155:[0-9]+:0x[0-9a-fA-F]{1,40})$","description":"Raw EVM address or CAIP-10 eip155:<chain_id>:<address>; all-zeroes denotes the native token"},"token_out":{"type":"string","pattern":"^(?:0x[0-9a-fA-F]{1,40}|eip155:[0-9]+:0x[0-9a-fA-F]{1,40})$","description":"Raw EVM address or CAIP-10 eip155:<chain_id>:<address>; all-zeroes denotes the native token"},"quote_type":{"type":"string","enum":["exact_input","exact_output"]},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"sender":{"description":"Transaction sender; pass with slippage_bps once the user has decided, so every option carries its plan","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"recipient":{"description":"Defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"slippage_bps":{"description":"Slippage bound written into the calldata, in basis points: 0.1% = 10, 0.3% = 30. Required with sender. Honor the user's preference. Otherwise keep the maximum slippage loss near one gas fee: slippage_bps ~= 10,000 * gas-cost value / swap-notional value, both in the same currency. Never use a generic 50 bps (0.5%) default, especially on Ethereum mainnet. After a slippage failure, re-quote rather than widen the bound.","type":"integer","minimum":0,"maximum":10000},"swap_deadline_minutes":{"description":"Ekubo router route deadline; default 30","type":"integer","minimum":1,"maximum":30},"include_raw_quotes":{"description":"Echo raw provider responses; only to diagnose a provider","type":"boolean"}},"required":["chain_id","token_in","token_out","quote_type","amount"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jurisdiction":{"type":"object","properties":{"policy_version":{"type":"string"},"policy_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"coverage":{"type":"string","enum":["complete","unknown"]},"execution_hold":{"type":"boolean"},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"jurisdiction_names":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"assets":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token":{"type":"string"},"side":{"type":"string","enum":["sell","buy"]},"classification":{"type":"string","enum":["rhj_stock_token","non_class","unknown","out_of_scope"]},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"ref":{"type":"string"},"observed_at":{"type":"string"}},"required":["source","ref","observed_at"],"additionalProperties":false}},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"offering_exclusions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"issuer_prohibited_investor":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"execution_hold":{"type":"boolean"}},"required":["chain_id","token","side","classification","provenance","restricted_jurisdictions","offering_exclusions","issuer_prohibited_investor","execution_hold"],"additionalProperties":false}},"execution_notice":{"type":["string","null"]}},"required":["policy_version","policy_digest","coverage","execution_hold","restricted_jurisdictions","jurisdiction_names","assets","execution_notice"],"additionalProperties":false,"x-catalog-summary":"jurisdiction metadata (ekubo-token-jurisdictions-v2): coverage, execution_hold, restricted_jurisdictions, per-asset classification"},"quotes":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":"object","properties":{"policy_version":{"type":"string"},"policy_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"coverage":{"type":"string","enum":["complete","unknown"]},"execution_hold":{"type":"boolean"},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"jurisdiction_names":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"assets":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token":{"type":"string"},"side":{"type":"string","enum":["sell","buy"]},"classification":{"type":"string","enum":["rhj_stock_token","non_class","unknown","out_of_scope"]},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"ref":{"type":"string"},"observed_at":{"type":"string"}},"required":["source","ref","observed_at"],"additionalProperties":false}},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"offering_exclusions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"issuer_prohibited_investor":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"execution_hold":{"type":"boolean"}},"required":["chain_id","token","side","classification","provenance","restricted_jurisdictions","offering_exclusions","issuer_prohibited_investor","execution_hold"],"additionalProperties":false}},"execution_notice":{"type":["string","null"]}},"required":["policy_version","policy_digest","coverage","execution_hold","restricted_jurisdictions","jurisdiction_names","assets","execution_notice"],"additionalProperties":false,"x-catalog-summary":"jurisdiction metadata (ekubo-token-jurisdictions-v2): coverage, execution_hold, restricted_jurisdictions, per-asset classification"},"execution":{"anyOf":[{"type":"object","properties":{"jurisdiction":{"type":"object","properties":{"policy_version":{"type":"string"},"policy_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"coverage":{"type":"string","enum":["complete","unknown"]},"execution_hold":{"type":"boolean"},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"jurisdiction_names":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"assets":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token":{"type":"string"},"side":{"type":"string","enum":["sell","buy"]},"classification":{"type":"string","enum":["rhj_stock_token","non_class","unknown","out_of_scope"]},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"ref":{"type":"string"},"observed_at":{"type":"string"}},"required":["source","ref","observed_at"],"additionalProperties":false}},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"offering_exclusions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"issuer_prohibited_investor":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"execution_hold":{"type":"boolean"}},"required":["chain_id","token","side","classification","provenance","restricted_jurisdictions","offering_exclusions","issuer_prohibited_investor","execution_hold"],"additionalProperties":false}},"execution_notice":{"type":["string","null"]}},"required":["policy_version","policy_digest","coverage","execution_hold","restricted_jurisdictions","jurisdiction_names","assets","execution_notice"],"additionalProperties":false,"x-catalog-summary":"jurisdiction metadata (ekubo-token-jurisdictions-v2): coverage, execution_hold, restricted_jurisdictions, per-asset classification"},"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"required":["jurisdiction"],"additionalProperties":{}},{"type":"null"}]}},"required":["jurisdiction"],"additionalProperties":{}}}},"required":["jurisdiction"],"additionalProperties":{}}},{"name":"get_value_transfer_status","title":"Track a LayerZero or LI.FI cross-chain transfer","description":"Report whether an executed LayerZero or LI.FI transfer has been delivered; its origin receipt alone does not mean the user has the funds. Poll every 15 to 30 seconds while settled is false (it draws on the quote budget). UNKNOWN or NOT_FOUND right after submission usually means not yet indexed. For LI.FI, read substatus: REFUNDED and PARTIAL report as status DONE. Across transfers are not tracked here.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"description":"The executed quote's source; defaults to layerzero","type":"string","enum":["layerzero","lifi"]},"quote_id":{"description":"The executed option's provider_quote_id; required for layerzero","type":"string","minLength":1,"maxLength":256},"transaction_hash":{"description":"Origin transaction hash; required for lifi, and pass it for layerzero once known (some routes need it)","type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"origin_chain_id":{"description":"Origin chain; lifi only, narrows the lookup","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"destination_chain_id":{"description":"Destination chain; lifi only","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]}},"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string","enum":["layerzero","lifi"]},"source_url":{"type":"string"},"quote_id":{"type":["string","null"]},"origin_transaction_hash":{"type":["string","null"]},"status":{"type":"string"},"substatus":{"type":["string","null"]},"substatus_message":{"type":["string","null"]},"settled":{"type":"boolean"},"explorer_url":{"type":["string","null"]},"execution_history":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"polling":{"type":"object","properties":{"settled":{"type":"boolean"},"instruction":{"type":"string"}},"required":["settled","instruction"],"additionalProperties":{}}},"required":["source","source_url","quote_id","origin_transaction_hash","status","substatus","substatus_message","settled","explorer_url","execution_history","polling"],"additionalProperties":{}}},{"name":"prepare_ve33_vote","title":"Prepare one ve(3,3) NFT vote change","description":"Compile one actively voted ve-token into multiple allocations. Unconditionally claims its current pool first, then splits and changes votes in one atomic batch of decodable VeToken steps. Nothing is burned, withdrawn, or transferred: the source keeps a stake and every additional allocation is a newly minted NFT with the same lock end. Prefer the portfolio reallocation workflow for complete state validation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"source_ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"source_amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"current_vote":{"type":"object","properties":{"pool_key_id":{"type":"string","minLength":1},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"},"swap_fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["pool_key_id","pool_key"],"additionalProperties":false,"description":"Required active indexed vote; its pool is claimed unconditionally before any split, clear, or replacement vote"},"allocations":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"pool_key_id":{"type":"string","minLength":1},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"},"swap_fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"permille":{"type":"integer","minimum":1,"maximum":1000}},"required":["pool_key_id","pool_key","swap_fee","permille"],"additionalProperties":false}},"unallocated_permille":{"type":"integer","minimum":0,"maximum":1000},"salt_nonce":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"User-selected nonce used to derive deterministic, replay-detectable split salts"}},"required":["chain_id","ve_token","sender","source_ve_id","source_amount","current_vote","allocations","unallocated_permille","salt_nonce"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_extend","title":"Prepare a ve-token extension","description":"Prepare a direct extension for an unvoted VeToken or an atomic claim-and-extend call when current_pool_key identifies an active vote, so pending voter fees are preserved. Extending moves the stake to a later end time and clears its vote — that is why the claim is compounded into the same call. A stake's end time only ever moves later, here and everywhere else in Ve33. No NFT is burned and no stake leaves the wallet; re-vote afterwards with prepare_ve33_vote. max_duration=true must be the user's explicit choice.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"duration_seconds":{"type":"integer","minimum":1,"maximum":4294967295},"max_duration":{"default":false,"type":"boolean"},"current_pool_key":{"description":"Active pool key when voted; the MCP claims fees atomically before extension. Omit only for an unvoted VeToken.","type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"}},"required":["chain_id","ve_token","sender","ve_id","max_duration"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_stake","title":"Prepare a new ve-token stake","description":"Create a new VeToken stake with an exact stake-token approval. Max duration is the safe default for new stakes; an explicit shorter duration is optional and no existing NFT, vote, fee balance, or ownership is changed.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"stake_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"salt":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"User-selected salt for a deterministic, replay-detectable VeToken ID"},"duration_seconds":{"type":"integer","minimum":1,"maximum":4294967295},"max_duration":{"description":"Defaults to true when duration_seconds is omitted; set false only with an explicit duration_seconds","type":"boolean"}},"required":["chain_id","ve_token","sender","stake_token","amount","salt"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_split","title":"Prepare a ve-token split","description":"Split a source ve-token with an explicit salt and return the deterministic child token ID; the source vote is preserved with reduced weight and the child starts unvoted with the same lock end. Non-destructive: no stake leaves the wallet, no NFT is burned, no vote is cleared, and no fees are discarded.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"salt":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["chain_id","ve_token","sender","ve_id","amount","salt"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_claim_fees","title":"Prepare ve-token fee claims","description":"Generate one call, or an atomic batch of decodable VeToken steps, claiming voter fees from one or more ve-tokens. Fees only: votes, stake amounts, lock ends, and NFT ownership are all unchanged, so this is always safe to run before any other ve(3,3) action.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"claims":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"}},"required":["ve_id","pool_key"],"additionalProperties":false}}},"required":["chain_id","ve_token","sender","claims"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_reinvest","title":"Prepare ve-token fee reinvestment","description":"Build the safe phased workflow for 'reinvest my fees': automatically claim all active voter fees, prepare one exact-input swap per claimed non-stake token, then increase one VeToken or every existing active allocation without changing ownership or replacing votes. phase=swap returns jurisdiction metadata inline on the result and on every child swap; it is not permission to trade. For a nonempty restricted_jurisdictions list, follow its execution_notice before requesting any signature. Phases run in order after each confirms: claim (omit claims to discover every active allocation; keep the pre-claim balance snapshots), swap with only the exact claimed deltas, never a pre-existing balance, then stake_all with the refreshed state_id and the measured STONX output.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"phase":{"type":"string","enum":["claim","swap","stake","stake_all"]},"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"claims":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"}},"required":["ve_id","pool_key"],"additionalProperties":false}},"stake_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee_balances":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Base units"}},"required":["token","amount"],"additionalProperties":false}},"slippage_bps":{"default":50,"type":"integer","minimum":0,"maximum":10000},"swap_deadline_minutes":{"description":"Ekubo router route deadline; default 30","type":"integer","minimum":1,"maximum":30},"source":{"type":"string","enum":["ekubo","0x","across","layerzero","lifi"]},"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"amount":{"description":"Stake token base units","type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_state_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["phase","chain_id","ve_token","sender","slippage_bps"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"phase":{"type":"string","enum":["claim","swap","stake_all","stake"]},"jurisdiction":{"type":"object","properties":{"policy_version":{"type":"string"},"policy_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"coverage":{"type":"string","enum":["complete","unknown"]},"execution_hold":{"type":"boolean"},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"jurisdiction_names":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"assets":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token":{"type":"string"},"side":{"type":"string","enum":["sell","buy"]},"classification":{"type":"string","enum":["rhj_stock_token","non_class","unknown","out_of_scope"]},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"ref":{"type":"string"},"observed_at":{"type":"string"}},"required":["source","ref","observed_at"],"additionalProperties":false}},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"offering_exclusions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"issuer_prohibited_investor":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"execution_hold":{"type":"boolean"}},"required":["chain_id","token","side","classification","provenance","restricted_jurisdictions","offering_exclusions","issuer_prohibited_investor","execution_hold"],"additionalProperties":false}},"execution_notice":{"type":["string","null"]}},"required":["policy_version","policy_digest","coverage","execution_hold","restricted_jurisdictions","jurisdiction_names","assets","execution_notice"],"additionalProperties":false,"x-catalog-summary":"jurisdiction metadata (ekubo-token-jurisdictions-v2): coverage, execution_hold, restricted_jurisdictions, per-asset classification"},"exact_input_full_balance_swaps":{"type":"array","items":{"type":"object","properties":{"jurisdiction":{"type":"object","properties":{"policy_version":{"type":"string"},"policy_digest":{"type":"string","pattern":"^[0-9a-f]{64}$"},"coverage":{"type":"string","enum":["complete","unknown"]},"execution_hold":{"type":"boolean"},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"jurisdiction_names":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"assets":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token":{"type":"string"},"side":{"type":"string","enum":["sell","buy"]},"classification":{"type":"string","enum":["rhj_stock_token","non_class","unknown","out_of_scope"]},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"ref":{"type":"string"},"observed_at":{"type":"string"}},"required":["source","ref","observed_at"],"additionalProperties":false}},"restricted_jurisdictions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"offering_exclusions":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"issuer_prohibited_investor":{"anyOf":[{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},{"type":"null"}]},"execution_hold":{"type":"boolean"}},"required":["chain_id","token","side","classification","provenance","restricted_jurisdictions","offering_exclusions","issuer_prohibited_investor","execution_hold"],"additionalProperties":false}},"execution_notice":{"type":["string","null"]}},"required":["policy_version","policy_digest","coverage","execution_hold","restricted_jurisdictions","jurisdiction_names","assets","execution_notice"],"additionalProperties":false,"x-catalog-summary":"jurisdiction metadata (ekubo-token-jurisdictions-v2): coverage, execution_hold, restricted_jurisdictions, per-asset classification"},"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"required":["jurisdiction"],"additionalProperties":{}}}},"additionalProperties":{}}},{"name":"prepare_ve33_claim_all_fees","title":"Prepare all ve-token fee claims","description":"Discover every active vote on VeTokens owned by the sender and generate one atomic batch of decodable VeToken steps claiming all indexed pool fees, with ownerOf and voteState validation calldata. Fees only: votes, stake amounts, lock ends, and NFT ownership are all unchanged.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Owner whose indexed VeTokens and active votes should be discovered"},"recipient":{"description":"Fee recipient; defaults to sender for claimPoolFeesToSelf","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","ve_token","sender"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_clear_vote","title":"Prepare ve-token vote clearing","description":"Remove the active vote from one or more ve-tokens, claiming each stake's current pool fees immediately before its clearVote in one atomic batch. Use this instead of raw clearVote calldata: Ve33 discards pending voter fees when a stake's weight goes to zero, and a current_pool_key that is not the stake's active pool reverts the whole batch. Stake amount, lock end and NFT ownership are untouched; the stake stops directing emissions and earning that pool's voter fees. Prefer prepare_ve33_reallocation when votes move to other pools. See ekubo://docs/ve33-workflow.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"recipient":{"description":"Fee recipient; defaults to sender for claimPoolFeesToSelf","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"votes":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote","description":"The pool this stake currently votes for. Required: its fees are claimed immediately before the clear, and a key that is not the stake's active pool reverts the whole batch before anything is cleared."}},"required":["ve_id","current_pool_key"],"additionalProperties":false}}},"required":["chain_id","ve_token","sender","votes"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_ve33_allocations","title":"Show Ekubo STONX / ve(3,3) allocations","description":"Use for requests such as 'show all my Ekubo STONX allocations'. The production Ekubo ve(3,3) deployment is the STONX voting system, so pass only owner to select its production chain and canonical VeToken automatically. Returns every pool, selected swap fee, NFT, applied vote weight, totals, state_id, and an onchain_validation request explicitly marked not_executed until the client runs its eth_call. Pass chain_id and ve_token together only for another deployment.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Optional with ve_token; omit both for the production Ekubo STONX deployment","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"ve_token":{"description":"Optional with chain_id; omit both for the canonical STONX VeToken 0x9d7008E169D040B6c0140eb92E7cA82B12643497","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Connected EVM wallet whose complete Ekubo STONX/VeToken allocation should be shown; the server cannot infer 'my', so ask the user when no wallet address is available"}},"required":["owner"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"onchain_validation":{"type":"object","properties":{"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_stonx_allocation_recommendation","title":"Get suggested STONX allocations","description":"Return a provider-neutral STONX allocation recommendation with an emissions_efficiency KPI per pool and an executable target list (exactly 10,000 bps, at most 25 Ve33 pools). The snapshot refreshes daily; read snapshot_age_seconds. voter with ve33_emission_state makes targets voter-optimal and keeps the neutral plan as provider_targets; without the emission state, execution_ready is false and local_read_requirement says what to read. The tool constructs no transaction. To apply it, require execution_ready=true, then pass its targets, the state_id from get_ve33_allocations for the connected wallet, and strategy=compact_max_lock to prepare_ve33_reallocation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"voter":{"description":"With ve33_emission_state, makes targets voter-optimal","type":"object","properties":{"vote_weight":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,77})$","description":"Total applied vote weight from get_ve33_allocations"},"pools":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"pool_key_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Ve33 pool_key_id"},"lp_share":{"type":"number","minimum":0,"maximum":1,"description":"Voter's share of the pool's emission-earning liquidity"},"current_vote_weight":{"description":"Defaults to 0","type":"string","pattern":"^(?:0|[1-9][0-9]{0,77})$"}},"required":["pool_key_id","lp_share"],"additionalProperties":false}}},"required":["vote_weight","pools"],"additionalProperties":false},"ve33_emission_state":{"type":"object","properties":{"current_timestamp":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_emission_rate":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"total_remaining_emissions":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["current_timestamp","current_emission_rate","total_remaining_emissions"],"additionalProperties":false,"x-catalog-summary":"{current_timestamp, current_emission_rate, total_remaining_emissions}: decimal strings decoded locally from getEmissionState (rate is Q32) via local_read_requirement; omit on the first call"},"prune_low_efficiency":{"default":false,"description":"Withhold prune candidates and redistribute their weight","type":"boolean"},"max_emission_share_per_fee_share":{"description":"Prune above this emission share / retained fee share; default 3","type":"number","minimum":1,"maximum":100}},"required":["prune_low_efficiency"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schema_version":{"type":"string","const":"1"},"recommendation_id":{"type":"string"},"snapshot_at":{"type":"string"},"chain_id":{"type":"string"},"execution_ready":{"type":"boolean"},"recommendations":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"targets":{"type":"array","items":{"type":"object","properties":{"pool_key_id":{"type":"string"},"swap_fee":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"weight_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["pool_key_id","swap_fee","weight_bps"],"additionalProperties":{}}}},"required":["schema_version","recommendation_id","snapshot_at","chain_id","execution_ready","recommendations","targets"],"additionalProperties":{}}},{"name":"prepare_ve33_reallocation","title":"Prepare atomic ve(3,3) reallocation","description":"Compile a reviewed current allocation into at most 25 target pool-weight shares as one atomic batch of decodable VeToken steps. The default path only claims, splits, and votes: nothing is burned, no lock is extended, and nothing is withdrawn. The optional compact_max_lock strategy fee-safely consolidates active NFTs, extends the survivor to four years, then creates exactly one voting NFT per target; it burns every merged source NFT and lengthens the lock, and explicitly discloses both. Show the get_ve33_allocations result first and pass its exact state_id; hand the wallet the survivor, every burned source, the extension, and the decoded calls. See ekubo://docs/ve33-workflow.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"VeToken owner that will execute the atomic batch"},"current_state_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Exact state_id returned by get_ve33_allocations; preparation fails if indexed state changed"},"targets":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"object","properties":{"pool_key_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Canonical Ekubo Ve33 pool key ID; the server resolves and verifies the full pool key"},"swap_fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Selected uint64 swap fee vote"},"weight_bps":{"type":"integer","minimum":1,"maximum":10000,"description":"Target share of allocated voting power in basis points"}},"required":["pool_key_id","swap_fee","weight_bps"],"additionalProperties":false},"description":"At most 25 targets. compact_max_lock creates one final voting VeToken per target; preserve_existing_locks may require multiple NFTs per target to keep expiry-cohort decay proportional."},"salt_nonce":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"User-selected nonce for deterministic child VeToken IDs created by required splits"},"strategy":{"description":"Defaults to preserve_existing_locks. compact_max_lock explicitly claims fees, consolidates active stake into one surviving NFT, extends it to four years, then creates exactly one voting NFT per target; redundant source NFT IDs are burned.","type":"string","enum":["preserve_existing_locks","compact_max_lock"]}},"required":["chain_id","ve_token","sender","current_state_id","targets","salt_nonce"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_positions_by_owner","title":"Get Ekubo positions by owner","description":"Enumerate an owner's indexed Ekubo position NFTs with pool keys, bounds, liquidity, indexed pool state and rewards. For fresh onchain state, pass each current_state_reads[].read_calls_reference to wallet_batch_eth_call as a value in the same code block; each position's current_state.state_call_id joins results[].id.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"state":{"type":"string","enum":["opened","closed"]},"page_size":{"default":50,"type":"integer","minimum":1,"maximum":200},"page":{"default":1,"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["owner","page_size","page"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"current_state_reads":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"required":["chain_id","read_calls_reference"],"additionalProperties":{}}}},"additionalProperties":{}}},{"name":"get_pool","title":"Get an Ekubo pool","description":"Resolve a chain/core/pool ID to its verified PoolKey, decoded config and indexed pool state. For fresh sqrtRatio, tick and liquidity, pass current_state_query.read_calls_reference unchanged to wallet_batch_eth_call.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"pool_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$","description":"Pool ID"}},"required":["chain_id","core_address","pool_id"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"current_state_query":{"type":"object","properties":{"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_pool_liquidity","title":"Get Ekubo pool liquidity depth","description":"Return tick-level net liquidity deltas for one exact chain/core/pool ID. Accumulate the deltas in ascending tick order to reconstruct active liquidity depth.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"pool_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$","description":"Pool ID"}},"required":["chain_id","core_address","pool_id"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string"},"core_address":{"type":"string"},"pool_id":{"type":"string"},"pool_id_decimal":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"liquidity_deltas":{"type":"array","items":{}}},"required":["chain_id","core_address","pool_id","pool_id_decimal","liquidity_deltas"],"additionalProperties":{}}},{"name":"list_pool_keys","title":"List Ekubo pool keys","description":"Discover initialized pools for one chain and Core deployment, ordered by pool_id with keyset pagination, optionally filtered by token, pair or extension. Each pool_id is re-derived from its PoolKey and each row carries the indexed state (null until indexed).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$","description":"Core deployment"},"token_a":{"description":"Pools containing this token","type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token_b":{"description":"With token_a, the exact pair","type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"extension":{"description":"Zero address = extensionless","type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"page_size":{"default":100,"description":"Pools per page","type":"integer","minimum":1,"maximum":200},"after_pool_id":{"description":"Previous page's next_after_pool_id","type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}},"required":["chain_id","core_address","page_size"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string"},"core_address":{"type":"string"},"core_generation":{"type":"string","enum":["v2","v3"]},"pools":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"page":{"type":"object","properties":{"page_size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"after_pool_id":{"type":["string","null"]},"next_after_pool_id":{"type":["string","null"]},"has_more":{"type":"boolean"}},"required":["page_size","after_pool_id","next_after_pool_id","has_more"],"additionalProperties":{}}},"required":["chain_id","core_address","core_generation","pools","page"],"additionalProperties":{}}},{"name":"derive_pool_id","title":"Derive an Ekubo pool ID","description":"Pack or accept an exact PoolKey config and derive pool_id = keccak256(abi.encode(PoolKey)). The uint64 Q64 fee is string-only so JavaScript cannot silently round it.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"description":"uint64 Q64 fee as a string, never a JSON number","type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"type":"integer","minimum":1,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false}},"required":["token0","token1"],"additionalProperties":false}},"required":["pool_key"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pool_id":{"type":"string"},"pool_id_decimal":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"pool_key":{"type":"object","properties":{"token0":{"type":"string"},"token1":{"type":"string"},"config":{"type":"string"}},"required":["token0","token1","config"],"additionalProperties":{}},"decoded_config":{"type":"object","properties":{"config":{"type":"string"},"extension":{"type":"string"},"fee":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"fee_hex":{"type":"string"},"type_config":{"type":"string"},"pool_type":{"type":"string","enum":["concentrated","stableswap","full_range"]},"discriminator_bit_set":{"type":"boolean"},"tick_spacing":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["center_tick","amplification"],"additionalProperties":{}},{"type":"null"}]}},"required":["config","extension","fee","fee_hex","type_config","pool_type","discriminator_bit_set","tick_spacing","stableswap_params"],"additionalProperties":{}}},"required":["pool_id","pool_id_decimal","pool_key","decoded_config"],"additionalProperties":{}}},{"name":"decode_pool_config","title":"Decode an Ekubo pool config","description":"Decode the packed bytes32 extension, exact uint64 Q64 fee, concentrated/stableswap discriminator, and tick spacing or stableswap parameters. The fee is never returned as a JSON number.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["config"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"config":{"type":"string"},"extension":{"type":"string"},"fee":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"fee_hex":{"type":"string"},"type_config":{"type":"string"},"pool_type":{"type":"string","enum":["concentrated","stableswap","full_range"]},"discriminator_bit_set":{"type":"boolean"},"tick_spacing":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["center_tick","amplification"],"additionalProperties":{}},{"type":"null"}]}},"required":["config","extension","fee","fee_hex","type_config","pool_type","discriminator_bit_set","tick_spacing","stableswap_params"],"additionalProperties":{}}},{"name":"get_position","title":"Get complete Ekubo position details","description":"Hydrate one owner position: pool key, bounds, liquidity, pool state, NFT metadata, history, rewards, token prices, and a pending read of current principal, fees or Ve33 rewards and owner. Pass current_state_query.read_calls_reference as a value to wallet_batch_eth_call in the same code block; current_state_query.state_call_id joins results[].id.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Current owner"},"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"positions_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Ekubo Positions or Ve33Positions manager"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$","description":"Position NFT ID"}},"required":["owner","chain_id","positions_address","token_id"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"current_state_query":{"type":"object","properties":{"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_position_pool_candidates","title":"Find pools for an LP position","description":"List indexed pools for a token pair with verified PoolKeys and pool IDs, Core generation, pool type, extension, 24-hour TVL/volume/fee stats and the right Positions or Ve33Positions manager.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"token_a":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$","description":"Either order"},"token_b":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"min_tvl_usd":{"default":0,"description":"TVL floor; default 0 keeps tiny pools visible","type":"number","minimum":0},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"pool_type":{"type":"string","enum":["concentrated","stableswap"]}},"required":["chain_id","token_a","token_b","min_tvl_usd"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string"},"pair":{"type":"object","properties":{"token0":{"type":"string"},"token1":{"type":"string"}},"required":["token0","token1"],"additionalProperties":{}},"tokens":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"}},"additionalProperties":{}}},"candidates":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"candidate_count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["chain_id","pair","tokens","candidates","candidate_count"],"additionalProperties":{}}},{"name":"prepare_lp_position_deposit","title":"Prepare an LP position deposit","description":"Prepare a v3 position mint or add_liquidity, initializing a new pool at initial_tick when requested, with every approval, refund and cleanup step. Ekubo ticks use base 1.000001, so tick = ln(price in base units) x 10^6 and a Uniswap-style 1.0001 calculation is 100x too small. The token ratio follows the range and current price: do every swap first, re-read the tick with the pool's current_state_query, then mint once. If the wallet lacks one side, execute that swap separately and size the deposit from the measured balance after its receipt, never a quoted output. See ekubo://docs/lp-position-workflow.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$","description":"v3 Core address"},"pool_id":{"description":"Omit when pool_key is supplied","type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"pool_key":{"description":"Required for an uninitialized pool","type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"},"pool_initialized":{"description":"false only for a new pool to initialize here","type":"boolean"},"mode":{"default":"mint_new","type":"string","enum":["mint_new","add_liquidity"]},"token_id":{"description":"add_liquidity only","type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_lower":{"type":"integer","minimum":-88722835,"maximum":88722835},"tick_upper":{"type":"integer","minimum":-88722835,"maximum":88722835},"initial_tick":{"description":"Uninitialized pool only: initializes at this tick","type":"integer","minimum":-88722835,"maximum":88722835},"max_amount0":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Max token0 base units; 0 for single-sided"},"max_amount1":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Max token1 base units; 0 for single-sided"},"slippage_bps":{"type":"integer","minimum":1,"maximum":5000,"description":"User-selected liquidity slippage"}},"required":["chain_id","sender","core_address","mode","tick_lower","tick_upper","max_amount0","max_amount1","slippage_bps"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lp_position_earnings_claim","title":"Prepare an LP fee or reward claim","description":"Prepare collection of all accrued fees from an owned standard position or rewards from an owned Ve33 position, keeping its liquidity and NFT. Run its current_state_query first: require every inner call to succeed and the decoded owner to equal expected_owner, and pass the decoded fees or rewards to the wallet with the plan.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Position owner"},"positions_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Positions or Ve33Positions manager"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$","description":"Position NFT ID"},"recipient":{"description":"Defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","positions_address","token_id"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lp_position_withdraw","title":"Prepare one or more LP position withdrawals","description":"Prepare partial or full withdrawals from one or more owned positions in one plan, collecting fees or Ve33 rewards and keeping the NFTs. Read each position's current_state_query first and request no more liquidity than it decodes; require every inner call to succeed and owner to equal expected_owner. Hand the wallet every principal and earnings estimate and recipient.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Owner of every position"},"withdrawals":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"positions_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Positions or Ve33Positions manager"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$","description":"Position NFT ID"},"liquidity":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"uint128 liquidity, at most the decoded current-state value"},"recipient":{"description":"Defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["positions_address","token_id","liquidity"],"additionalProperties":false},"description":"One entry per position"}},"required":["chain_id","sender","withdrawals"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_wrap_unwrap","title":"Prepare a direct wrapped-native wrap or unwrap","description":"Prepare a direct wrapped-native deposit or withdrawal on a chain with a verified wrapped native token. The response names the wrapped token, which is not WETH everywhere (BNB Chain wraps BNB, Polygon POL, Monad MON).","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"direction":{"type":"string","enum":["wrap","unwrap"]},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"}},"required":["chain_id","sender","direction","amount"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_transfers","title":"Prepare a batch of token transfers","description":"Prepare one atomic-capable plan of 1 to 4,096 ordered native, ERC-20, ERC-721 and ERC-1155 transfers on one EVM chain, mixed freely. Returns a compact summary and the execution_plan_reference.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero owner of every asset"},"transfers":{"minItems":1,"maxItems":4096,"type":"array","items":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"native"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero recipient address"},"amount":{"type":"string","pattern":"^[1-9][0-9]*$","description":"Wei"}},"required":["kind","recipient","amount"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"erc20"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero token contract address"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero recipient address"},"amount":{"type":"string","pattern":"^[1-9][0-9]*$","description":"Base units"}},"required":["kind","token","recipient","amount"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"erc721"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero token contract address"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero recipient address"},"token_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Token ID; zero is valid"},"safe":{"description":"safeTransferFrom by default; false uses transferFrom","type":"boolean"},"data":{"description":"Receiver callback data for the four-argument safeTransferFrom; not with safe=false","type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})*$"}},"required":["kind","token","recipient","token_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"erc1155"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero token contract address"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Nonzero recipient address"},"token_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Token ID; zero is valid"},"amount":{"type":"string","pattern":"^[1-9][0-9]*$","description":"Base units"},"safe":{"description":"ERC-1155 has no unsafe transfer","type":"boolean","const":true},"data":{"description":"Receiver callback data; defaults to empty (0x)","type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})*$"}},"required":["kind","token","recipient","token_id","amount"],"additionalProperties":false}]},"description":"One to 4096 ordered, optionally mixed native, ERC-20, ERC-721, or ERC-1155 transfers"}},"required":["chain_id","sender","transfers"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lp_position_transfer","title":"Prepare an LP position transfer","description":"Prepare the exact safeTransferFrom transaction for an owned LP position and include pending ownership validation. The position, liquidity, and unclaimed earnings move together.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"positions_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","positions_address","token_id","recipient"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_fix_pool_price","title":"Prepare a pool price correction","description":"Run the interface-equivalent phased fix-price workflow: provide exact pending pool-price read calldata, then exact router quote calldata, then approvals and target-price execution calldata. The wallet never constructs a route or transaction.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pool_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"base_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"target_price":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?|\\.[0-9]+)$"},"pending_current_sqrt_ratio":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"quote_result":{"type":"object","properties":{"specified_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"calculated_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"specified_amount":{"type":"string","pattern":"^-?(?:0|[1-9][0-9]*)$"},"calculated_amount":{"type":"string","pattern":"^-?(?:0|[1-9][0-9]*)$"},"block_number":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"block_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["specified_token","calculated_token","specified_amount","calculated_amount"],"additionalProperties":false},"swap_deadline_minutes":{"description":"Ekubo router route deadline; default 30","type":"integer","minimum":1,"maximum":30}},"required":["chain_id","sender","core_address","pool_id","base_token","target_price"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_twamm_order","title":"Prepare a TWAMM or DCA order","description":"Prepare one or more TWAMM order splits with approvals and native value as one atomic batch. details.token_id is the order's id before anything is sent: keep it, because prepare_twamm_order_collection and prepare_twamm_order_stop are keyed by it and orders are not enumerable by owner. Start and end times must be multiples of 256 seconds near the present, widening in powers of 16 further out.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sell_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"buy_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"orders":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"start_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"end_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"}},"required":["fee","start_time","end_time","amount"],"additionalProperties":false}},"pending_timestamp":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"deadline_seconds":{"default":120,"type":"integer","minimum":0,"maximum":3600},"salt":{"description":"Fixes the order's token id; omit to derive it from the request. Supply one only when identical orders need distinct ids","type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["chain_id","sender","sell_token","buy_token","orders","pending_timestamp","deadline_seconds"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_twamm_order_collection","title":"Prepare TWAMM proceeds collection","description":"Prepare collection of every selected order key through the exact current or legacy Orders manager, as one atomic batch of decodable steps, with pending owner validation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"orders_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"order_keys":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"}}},"required":["chain_id","sender","orders_address","token_id","order_keys"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_twamm_order_stop","title":"Prepare stopping a TWAMM order","description":"Prepare the interface's complete stop flow: collect every selected order and decrease every still-active sale rate in one atomic batch of decodable steps.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"orders_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"pending_timestamp":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"orders":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"order_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"},"end_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"sale_rate":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["order_key","end_time","sale_rate"],"additionalProperties":false}}},"required":["chain_id","sender","orders_address","token_id","pending_timestamp","orders"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_twamm_virtual_orders","title":"Prepare TWAMM virtual-order execution","description":"Prepare the permissionless lockAndExecuteVirtualOrders maintenance call for a current or legacy TWAMM pool.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"}},"required":["chain_id","sender","pool_key"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_auction_create","title":"Prepare auction creation","description":"Pack the exact interface auction config and prepare mint plus sellAmountByAuction, including approval or native value and deterministic token ID.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sell_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"buy_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"sell_amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"creator_fee_q32":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"min_boost_duration":{"type":"integer","minimum":0,"maximum":16777215},"graduation_pool_fee_q64":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"graduation_pool_tick_spacing":{"type":"integer","minimum":0,"maximum":4294967295},"start_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"auction_duration":{"type":"integer","minimum":0,"maximum":4294967295},"salt":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["chain_id","sender","sell_token","buy_token","sell_amount","creator_fee_q32","min_boost_duration","graduation_pool_fee_q64","graduation_pool_tick_spacing","start_time","auction_duration","salt"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_auction_complete","title":"Prepare auction completion","description":"Prepare permissionless auction completion and, when necessary, graduation-pool initialization in the same atomic batch.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"auction_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"},"graduation_pool_initialized":{"type":"boolean"},"launch_pool_tick":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["chain_id","sender","token_id","auction_key","graduation_pool_initialized"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_auction_creator_proceeds","title":"Prepare auction creator proceeds collection","description":"Prepare collection of creator proceeds for an auction NFT with pending owner validation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"auction_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"}},"required":["chain_id","sender","token_id","auction_key"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_manual_pool_boost","title":"Prepare a manual pool boost","description":"Compute the exact Q32 boost rates and prepare all token approvals, native value, and boost calldata used by the interface.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config"},"start_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Unix seconds"},"end_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Unix seconds, after start_time"},"amount0":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Total token0 base units over the boost"},"amount1":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$","description":"Total token1 base units over the boost"}},"required":["chain_id","sender","pool_key","start_time","end_time","amount0","amount1"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_oracle_capacity_expansion","title":"Prepare oracle capacity expansion","description":"Prepare the interface's permissionless Oracle expandCapacity call for one ERC-20 token.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"min_capacity":{"type":"integer","minimum":0,"maximum":4294967295}},"required":["chain_id","sender","token","min_capacity"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_approval_revocations","title":"Prepare ERC-20 approval revocations","description":"Prepare every approve(spender,0) as an exact ordered multi-transaction execution plan. The wallet must not discover or construct the transaction list.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"approvals":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"spender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["token","spender"],"additionalProperties":false}}},"required":["chain_id","sender","approvals"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_rewards_claims_by_owner","title":"Get incentive rewards claims by owner","description":"Fetch canonical reward-claim records and supply the exact per-chain isClaimed/isAvailable eth_call list used by the interface before preparing claim transactions.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["owner"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"onchain_validation":{"type":"object","properties":{"validation_reads":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"required":["chain_id","read_calls_reference"],"additionalProperties":{}}}},"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_rewards_claim","title":"Prepare incentive reward claims","description":"Prepare one Incentives claim or the interface's allow-failure Multicall3 aggregate for multiple claims.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"claims":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"drop_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"key":{"type":"object","properties":{"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"root":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["owner","token","root"],"additionalProperties":false},"claim":{"type":"object","properties":{"index":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"account":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"}},"required":["index","account","amount"],"additionalProperties":false},"proof":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}},"required":["drop_address","key","claim","proof"],"additionalProperties":false}}},"required":["chain_id","sender","claims"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_revenue_buybacks","title":"Prepare revenue buyback maintenance","description":"Prepare the exact selected ended-order collections, protocol-fee withdrawals, and token rolls in interface order within one atomic batch of decodable steps.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"ended_order_collects":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"sell_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"end_time":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["sell_token","fee","end_time"],"additionalProperties":false}},"protocol_fee_pairs":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["token0","token1"],"additionalProperties":false}},"roll_tokens":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}}},"required":["chain_id","sender","ended_order_collects","protocol_fee_pairs","roll_tokens"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_increase_stake","title":"Prepare increasing a ve-token stake","description":"Prepare the exact approval/native value and increaseStakeAmount call while preserving the existing vote and fee accounting. Non-destructive: the vote is resized rather than cleared, no fees are discarded, and no NFT is burned. The added stake takes the NFT's existing lock end, so it cannot be withdrawn before that time.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"stake_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"}},"required":["chain_id","ve_token","sender","stake_token","ve_id","amount"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_merge","title":"Prepare merging ve-token stakes","description":"Prepare fee-safe merging of one or more source NFTs into a destination, including required claims and the selected resulting vote in one atomic batch of decodable steps. Destructive to the sources: each source's stake moves to the destination, its vote is cleared, and the source NFT is burned, so its fees are claimed first and its ID is reported in the plan. The destination keeps its own lock end, which is why no source may end later than it.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"destination_ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"destination_pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"},"sources":{"minItems":1,"maxItems":99,"type":"array","items":{"type":"object","properties":{"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"}},"required":["ve_id"],"additionalProperties":false}},"resulting_vote":{"anyOf":[{"type":"object","properties":{"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"},"swap_fee":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["pool_key","swap_fee"],"additionalProperties":false},{"type":"null"}]}},"required":["chain_id","ve_token","sender","destination_ve_id","sources"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_ve33_withdraw","title":"Prepare expired ve-token withdrawal","description":"Prepare fee-safe withdrawal of an expired ve-token stake, claiming the active pool first when voted and returning pending owner/stake validation. Ends the position: the stake leaves Ve33 and returns to the owner and the vote is cleared. Only an expired stake can be withdrawn — Ve33 reverts with StakeNotExpired at any earlier time, and there is no early exit or penalty path.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"With ve_token, from get_ve33_allocations (STONX: 4663), not the wallet's chain"},"ve_token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"ve_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"fee":{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"},"tick_spacing":{"anyOf":[{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^(?:(?:0|[1-9][0-9]*)|0x[0-9a-fA-F]+)$"}]},{"type":"null"}]},"extension":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$"},"stableswap_params":{"anyOf":[{"type":"object","properties":{"center_tick":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amplification":{"type":"integer","minimum":0,"maximum":127}},"required":["center_tick","amplification"],"additionalProperties":false},{"type":"null"}]}},"required":["token0","token1"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config} or {token0, token1, fee, tick_spacing, extension, stableswap_params?}, as read from the pool or vote"}},"required":["chain_id","ve_token","sender","ve_id"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_liquidity_opportunities","title":"Find Ekubo liquidity opportunities","description":"Return the interface's boosted-fee, incentive and projected ve(3,3)-emission opportunities ranked by APR, with actionable pools or pool-discovery handoffs, freshness and risk context. Call this before asking the user to choose a pair. APR is an annualized snapshot, not guaranteed yield: show its components, denominator, freshness, and range and impermanent-loss risk. If ranking_complete=false, run local_read_requirement through the wallet, decode it locally, and call again with ve33_emission_state.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Omit for every chain","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]},"types":{"default":["boosted_fees","incentive","ve33_emissions"],"description":"Defaults to all","minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["boosted_fees","incentive","ve33_emissions"]}},"token":{"description":"Token in the pair (EVM or Starknet)","type":"string","pattern":"^0x[0-9a-fA-F]+$"},"min_apr":{"description":"APR ratio floor; 1.0 = 100%","type":"number","minimum":0},"limit":{"default":25,"type":"integer","minimum":1,"maximum":100},"ve33_emission_state":{"type":"object","properties":{"current_timestamp":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"current_emission_rate":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"},"total_remaining_emissions":{"type":"string","pattern":"^(?:0|[1-9][0-9]*)$"}},"required":["current_timestamp","current_emission_rate","total_remaining_emissions"],"additionalProperties":false,"x-catalog-summary":"{current_timestamp, current_emission_rate, total_remaining_emissions}: decimal strings decoded locally from getEmissionState (rate is Q32) via local_read_requirement; omit on the first call"}},"required":["types","limit"],"additionalProperties":false},"protocol":"ekubo","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"local_read_requirement":{"anyOf":[{"type":"object","properties":{"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}},{"type":"null"}]}},"additionalProperties":{}}},{"name":"prepare_pool_initialization","title":"Prepare standalone pool initialization","description":"Prepare one permissionless maybeInitializePool transaction for a v3 PoolKey and initial tick; prepare_lp_position_deposit with pool_initialized=false does the same atomically with the mint.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"EVM chain ID"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Submitting wallet"},"core_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{1,40}$","description":"v3 Core address"},"pool_key":{"type":"object","properties":{"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token; zero address = native"},"config":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["token0","token1","config"],"additionalProperties":false,"x-catalog-summary":"PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config","description":"Pool to initialize"},"initial_tick":{"type":"integer","minimum":-88722835,"maximum":88722835,"description":"The first initialization permanently sets the price"}},"required":["chain_id","sender","core_address","pool_key","initial_tick"],"additionalProperties":false},"protocol":"ekubo-advanced","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_aave_v3_markets","title":"List fixed Aave V3 markets","description":"Locally return six major Aave V3 core deployments and a bounded set of popular reserve, aToken, and variable-debt-token addresses from a pinned official Aave address-book snapshot. This tool makes no RPC, indexer, API, or other network request. For live rates, caps, pause state, liquidity, collateral settings, eMode categories, and account data, an agent may call Aave's public GraphQL API at https://api.v3.aave.com/graphql directly; this server is not in that data path. Intersect the API result with this fixed list before calling a preparation tool.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Optional exact chain filter. Omit to return every fixed Aave V3 core market supported by the preparation tools.","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]}},"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"markets":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","markets"],"additionalProperties":{}}},{"name":"prepare_aave_v3_supply","title":"Prepare an Aave V3 supply","description":"Prepare a fixed-market Aave V3 Pool supply with an exact ERC-20 approval, supply calldata, and allowance cleanup as one atomic wallet plan. No live balance, allowance, reserve, cap, pause, or rate data is queried.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Aave action"},"asset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact underlying ERC-20 address from the selected market's fixed major-reserve list"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Positive underlying-token amount in base units"},"on_behalf_of":{"description":"aToken recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","asset","amount"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aave_v3_withdraw","title":"Prepare an Aave V3 withdrawal","description":"Prepare a direct Aave V3 Pool withdrawal for a supported fixed reserve. Pass uint256 maximum as amount to request the available aToken balance. The wallet establishes balance, health-factor, collateral, and liquidity validity by exact simulation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Aave action"},"asset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact underlying ERC-20 address from the selected market's fixed major-reserve list"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Positive underlying-token amount in base units; uint256 maximum requests all available balance"},"recipient":{"description":"Underlying-token recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","asset","amount"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aave_v3_borrow","title":"Prepare an Aave V3 variable borrow","description":"Prepare a direct Aave V3 variable-rate borrow from a supported fixed reserve, including optional on-behalf-of credit delegation. This server does not query collateral, delegation, health factor, caps, or available liquidity.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Aave action"},"asset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact underlying ERC-20 address from the selected market's fixed major-reserve list"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Positive borrow amount in base units"},"on_behalf_of":{"description":"Debt owner; defaults to sender. A different owner must already have delegated variable debt to sender.","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","asset","amount"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aave_v3_repay","title":"Prepare an Aave V3 variable-debt repayment","description":"Prepare variable-debt repayment with underlying tokens or sender-owned aTokens. Underlying repayment carries an exact ERC-20 approval and cleanup in one atomic plan; uint256 maximum requests all available debt.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Aave action"},"asset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact underlying ERC-20 address from the selected market's fixed major-reserve list"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Positive repayment amount in base units; uint256 maximum requests all available variable debt"},"on_behalf_of":{"description":"Debt owner; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"funding_source":{"default":"underlying","description":"Use underlying ERC-20 with a temporary exact Pool approval, or burn sender-owned aTokens with repayWithATokens","type":"string","enum":["underlying","a_token"]}},"required":["chain_id","sender","asset","amount","funding_source"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aave_v3_collateral","title":"Prepare an Aave V3 collateral toggle","description":"Prepare setUserUseReserveAsCollateral for a supported fixed reserve. Disabling collateral can reduce health factor or revert when open debt needs it, so exact wallet simulation is mandatory.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Aave action"},"asset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact underlying ERC-20 address from the selected market's fixed major-reserve list"},"use_as_collateral":{"type":"boolean","description":"True enables this supplied reserve as collateral; false disables it"}},"required":["chain_id","sender","asset","use_as_collateral"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aave_v3_emode","title":"Prepare an Aave V3 eMode change","description":"Prepare setUserEMode with a caller-supplied current uint8 category ID; zero disables eMode. Discover live category configuration through Aave's public GraphQL API directly, because this server makes no data or RPC request.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain of a fixed Aave V3 core market returned by get_aave_v3_markets"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet whose eMode selection will change"},"category_id":{"type":"integer","minimum":0,"maximum":255,"description":"Current onchain Aave eMode category; zero disables eMode. Obtain nonzero category IDs from Aave's public GraphQL API, because this server does not query them."}},"required":["chain_id","sender","category_id"],"additionalProperties":false},"protocol":"aave","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_morpho_vaults","title":"List fixed Morpho Vault V2 deployments","description":"Locally return a bounded, pinned catalog of listed Morpho Vault V2 deployments plus official direct-discovery guidance. This tool makes no API, RPC, indexer, or other network request. The agent must query Morpho's public GraphQL API and current onchain state directly, then intersect the result with the fixed chain, vault, and asset addresses before preparation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Optional exact chain filter for the fixed Morpho Vault V2 catalog","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]}},"additionalProperties":false},"protocol":"morpho","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"vaults":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","vaults"],"additionalProperties":{}}},{"name":"prepare_morpho_vault_deposit","title":"Prepare a guarded Morpho vault deposit","description":"Prepare an exact-approval Morpho Vault V2 deposit through the official SDK's VaultBundlesV1 route. The caller supplies a fresh RAY-scaled max share price, which is enforced onchain against ERC-4626 share-price inflation; shares are minted to the sender and the server performs no data fetch.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain returned by get_morpho_vaults"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Morpho action"},"vault":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact Morpho Vault V2 address returned by get_morpho_vaults"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Positive underlying-asset amount in base units"},"max_share_price_ray":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Maximum acceptable vault share price in RAY (1e27), derived by the agent from fresh Morpho/onchain vault state plus the user's slippage tolerance"},"recipient":{"description":"Vault-share recipient; must equal sender if supplied, because VaultBundlesV1 mints shares only to the transaction sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"description":"Unix timestamp after which VaultBundlesV1 rejects the deposit; defaults to two hours after preparation. One already past makes the plan a guaranteed revert.","type":"string","pattern":"^[0-9]*[1-9][0-9]*$"}},"required":["chain_id","sender","vault","amount","max_share_price_ray"],"additionalProperties":false},"protocol":"morpho","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_morpho_vault_withdraw","title":"Prepare a Morpho vault withdrawal","description":"Prepare a direct Morpho Vault V2 withdrawal for an exact underlying-asset amount from a fixed vault. Current shares, liquidity, permissions, and vault state are established by direct agent discovery and exact wallet simulation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain returned by get_morpho_vaults"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Morpho action"},"vault":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact Morpho Vault V2 address returned by get_morpho_vaults"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact underlying-asset amount to withdraw in base units"},"recipient":{"description":"Underlying-asset recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"description":"Vault-share owner; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","vault","amount"],"additionalProperties":false},"protocol":"morpho","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_morpho_vault_redeem","title":"Prepare a Morpho vault redemption","description":"Prepare a direct Morpho Vault V2 redemption for an exact share amount. Prefer redeem for full exits so the user's complete fresh share balance can be bound without asset/share rounding dust.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Chain returned by get_morpho_vaults"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Morpho action"},"vault":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Exact Morpho Vault V2 address returned by get_morpho_vaults"},"shares":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact vault-share amount to redeem in base units"},"recipient":{"description":"Underlying-asset recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"description":"Vault-share owner; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","vault","shares"],"additionalProperties":false},"protocol":"morpho","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_sky_savings_deployment","title":"Get the fixed Sky savings deployment","description":"Locally return the canonical Ethereum USDS and sUSDS addresses and direct wallet-read guidance. This server does not proxy Sky, an RPC, an indexer, or any third-party API.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"protocol":"sky","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"deployment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","deployment"],"additionalProperties":{}}},{"name":"prepare_sky_savings_deposit","title":"Prepare a Sky savings deposit","description":"Prepare an exact USDS approval, ERC-4626 sUSDS deposit, and allowance cleanup as one atomic wallet plan. The direct vault interface has no minimum-shares or deadline field, so a fresh preview and exact wallet simulation are mandatory.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Sky savings action"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact USDS deposit amount in base units"},"receiver":{"description":"sUSDS recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","amount"],"additionalProperties":false},"protocol":"sky","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_sky_savings_withdraw","title":"Prepare a Sky savings withdrawal","description":"Prepare a direct sUSDS ERC-4626 withdrawal for an exact USDS amount. The server does not query current exchange rate, capacity, balance, allowance, or preview state.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Sky savings action"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact USDS amount to withdraw in base units"},"receiver":{"description":"USDS recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"description":"sUSDS owner; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","amount"],"additionalProperties":false},"protocol":"sky","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_sky_savings_redeem","title":"Prepare a Sky savings redemption","description":"Prepare a direct sUSDS ERC-4626 redemption for an exact share amount. Use a fresh wallet/RPC balance and preview, then require exact wallet simulation before authorization.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Wallet that will execute the Sky savings action"},"shares":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact sUSDS share amount to redeem in base units"},"receiver":{"description":"USDS recipient; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"description":"sUSDS owner; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","shares"],"additionalProperties":false},"protocol":"sky","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_merkl_deployment","title":"Get the verified Merkl Distributor deployment","description":"Locally return the Merkl Distributor address, the chains it is verified on, and how Merkl's reward fields behave; preparation is limited to those chains. No Merkl API, RPC, or indexer request.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Optional chain to check against the verified Merkl Distributor catalog","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]}},"additionalProperties":false},"protocol":"merkl","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"deployment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","deployment"],"additionalProperties":{}}},{"name":"prepare_merkl_claim","title":"Prepare a Merkl reward claim","description":"Prepare one Distributor claim for every Merkl reward token the sender holds on a chain, from amounts and proofs fetched from https://api.merkl.xyz/v4/users/{address}/rewards/summary. The proofs are folded into their Merkle root here, and the read bundle checks it against the root the chain enforces, so Merkl's API need not be trusted. Distinct from prepare_rewards_claim, which claims Ekubo's own incentive drops.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"From the Merkl rewards summary"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Claiming wallet; the leaf's user address"},"rewards":{"minItems":1,"maxItems":32,"type":"array","items":{"type":"object","properties":{"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Reward token address exactly as Merkl returned it"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Merkl's cumulative amount, unchanged; not the claimable delta"},"proofs":{"maxItems":64,"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"description":"Merkl's proofs, in order, unchanged"}},"required":["token","amount","proofs"],"additionalProperties":false},"description":"One entry per reward token on this chain, all in one claim"}},"required":["chain_id","sender","rewards"],"additionalProperties":false},"protocol":"merkl","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_aerodrome_deployment","title":"Get the verified Aerodrome Base deployment","description":"Locally return Aerodrome's Base contracts (AERO, veAERO, Voter, Router, v2 factory, RewardsDistributor, Slipstream, Sugar lenses), derived on chain from the Voter, plus the protocol behaviour an agent must respect. No API or RPC request. Aerodrome is Base-only; Velodrome is not prepared here.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"description":"Optional chain to check against Aerodrome's Base-only deployment","anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}]}},"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"deployment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","deployment"],"additionalProperties":{}}},{"name":"prepare_aerodrome_sugar_reads","title":"Prepare an Aerodrome Sugar read bundle","description":"Build the eth_call bundle and decode plan for one Sugar dataset (pools, positions, veNFTs, epochs, rewards) for the wallet to run against the user's RPC; Sugar has no API. The pool, gauge, fee and bribe addresses and veNFT ids it returns are the inputs to the other prepare_aerodrome_* tools.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"dataset":{"type":"string","enum":["pools","positions","venfts_by_account","venft_by_id","latest_epochs","pool_epochs","venft_rewards","venft_pool_rewards"],"description":"Sugar dataset"},"account":{"description":"Required for positions and venfts_by_account","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pool":{"description":"Required for pool_epochs and venft_pool_rewards","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venft_id":{"description":"Required for venft_by_id, venft_rewards, and venft_pool_rewards","type":"string","pattern":"^[0-9]*[1-9][0-9]*$"},"limit":{"description":"Page size; at most 500 pools or 200 positions","type":"integer","minimum":1,"maximum":500},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["chain_id","dataset"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_liquidity_deposit","title":"Prepare an Aerodrome v2 liquidity deposit","description":"Prepare a v2 addLiquidity through Aerodrome's Router with exact approvals and allowance cleanup. The read bundle quotes the actual split and resolves the pool, so a pair with no pool is caught before a deposit sets its price. LP tokens earn no AERO until staked with prepare_aerodrome_gauge_deposit.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_a":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_b":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"stable":{"type":"boolean","description":"Stable (true) or volatile pool; with the pair it identifies the pool"},"amount_a_desired":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Maximum token_a base units"},"amount_b_desired":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Maximum token_b base units"},"amount_a_min":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Slippage bound: minimum token_a base units consumed"},"amount_b_min":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Minimum token_b base units consumed"},"deadline":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Near-term unix timestamp; a past one makes the plan revert"},"recipient":{"description":"Defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","token_a","token_b","stable","amount_a_desired","amount_b_desired","amount_a_min","amount_b_min","deadline"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_liquidity_withdraw","title":"Prepare an Aerodrome v2 liquidity withdrawal","description":"Prepare a v2 removeLiquidity that burns LP tokens back into the underlying pair, with the LP-token approval the router needs and an allowance cleanup after. Phased, because the token being approved is the pool and this server resolves Aerodrome addresses by reading them: call it without lp_token to get the pool read back, then again with the resolved address for the complete atomic plan. An LP balance short of the requested liquidity usually means the rest is staked in the gauge and needs unstaking first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_a":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_b":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"stable":{"type":"boolean","description":"Stable (true) or volatile pool"},"liquidity":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact LP token amount to burn in base units"},"amount_a_min":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Minimum token_a base units to receive"},"amount_b_min":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Minimum token_b base units to receive"},"deadline":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Near-term unix timestamp; a past one makes the plan revert"},"recipient":{"description":"Defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"lp_token":{"description":"Pool address from this tool's first-phase read; omit to get that read, supply it for the full plan","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","token_a","token_b","stable","liquidity","amount_a_min","amount_b_min","deadline"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_gauge_deposit","title":"Prepare an Aerodrome gauge stake","description":"Stake v2 LP tokens into a pool's gauge to earn AERO emissions, with the LP-token approval the gauge needs and an allowance cleanup after. Phased, because which token the gauge pulls is its own stakingToken: call it without lp_token to get that read back, then again with the resolved address for the complete atomic plan. Staking redirects that position's trading fees to the pool's voters, so it trades fee income for emissions rather than adding to it. A dead gauge accepts the stake and pays nothing, so check gauge_alive. Size amount from the live LP balance, not from an earlier deposit simulation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"gauge":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Gauge from a Sugar pools read"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact LP token amount to stake in base units"},"lp_token":{"description":"Gauge stakingToken from this tool's first-phase read; omit to get that read, supply it for the full plan","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","gauge","amount"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_gauge_withdraw","title":"Prepare an Aerodrome gauge unstake","description":"Unstake v2 LP tokens from a gauge. This returns the LP token, not the underlying pair, and it does not claim AERO: the read bundle reports what is still earned so it is not silently left behind.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"gauge":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Gauge from a Sugar pools read"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact LP token amount to unstake in base units"}},"required":["chain_id","sender","gauge","amount"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_gauge_claim","title":"Prepare an Aerodrome emissions claim","description":"Claim accrued AERO from a gauge. getReward credits its account argument rather than the sender, so a claim can pay a different address than the one paying gas; the plan states which. A claim with nothing earned succeeds and transfers nothing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"gauge":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Gauge from a Sugar pools read"},"account":{"description":"Account whose emissions are claimed; defaults to sender. getReward credits this address, so a non-sender value pays someone else.","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","gauge"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_lock","title":"Prepare a veAERO lock action","description":"Build one veAERO escrow action: create a lock, add AERO to one, extend it, switch permanent locking on or off, or withdraw an expired one. Durations are measured from now and floored to a week boundary, so anything under a week is refused rather than signed. The read bundle returns ownership and the lock's (amount, end, isPermanent) so an impossible action — withdrawing an unexpired or permanent lock, extending past nothing — is caught before signing.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"action":{"type":"string","enum":["create","increase_amount","extend","lock_permanent","unlock_permanent","withdraw"],"description":"Which veAERO lock action to build"},"amount":{"description":"AERO amount in base units; required for create and increase_amount","type":"string","pattern":"^[0-9]*[1-9][0-9]*$"},"lock_duration":{"description":"Lock length in seconds measured from now, required for create and extend. The escrow floors it to a week boundary and caps it at four years.","type":"string","pattern":"^[0-9]*[1-9][0-9]*$"},"venft_id":{"description":"veNFT token id; required for every action but create","type":"string","pattern":"^[0-9]*[1-9][0-9]*$"}},"required":["chain_id","sender","action"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_vote","title":"Prepare a veAERO vote or reset","description":"Cast one veNFT's gauge vote, or reset it. Weights are relative shares of voting power, not amounts, and the allocation replaces any previous vote entirely — a pool left out is voted zero. A veNFT may vote once per weekly epoch and reverts on a second attempt, so the read bundle returns lastVoted along with each pool's gauge and liveness. Voting also locks the NFT against withdrawal until it is reset.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venft_id":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"veNFT token id casting the vote"},"pools":{"description":"The complete allocation. It replaces any previous vote, so a pool left out is voted zero rather than left alone.","maxItems":32,"type":"array","items":{"type":"object","properties":{"pool":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Pool address to vote for"},"weight":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Relative share of this NFT's voting power. Only the ratio matters, so [1,1] and [50,50] are the same vote."}},"required":["pool","weight"],"additionalProperties":false}},"reset":{"description":"Clear this NFT's votes instead of casting new ones; required before withdrawing a voted NFT","type":"boolean"}},"required":["chain_id","sender","venft_id"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_aerodrome_incentive_claim","title":"Prepare a veAERO reward claim","description":"Claim a veNFT's voting rewards — trading fees, bribes, or both — and optionally the RewardsDistributor rebase, as one plan. The fee and bribe contract addresses are required inputs because they are per-pool contracts that only a Sugar rewards read returns; this server cannot derive them, and a wrong address claims nothing rather than failing loudly. Distinct from prepare_aerodrome_gauge_claim, which collects an LP's emissions rather than a voter's rewards.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Base (8453) only"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"venft_id":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"veNFT token id whose rewards are claimed"},"fees":{"description":"Fee contracts and their tokens, taken from a Sugar venft_rewards read","maxItems":32,"type":"array","items":{"type":"object","properties":{"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Fee or bribe contract from a Sugar rewards read"},"tokens":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"description":"Reward tokens to claim from this contract"}},"required":["contract","tokens"],"additionalProperties":false}},"bribes":{"description":"Bribe contracts and their tokens, taken from a Sugar venft_rewards read","maxItems":32,"type":"array","items":{"type":"object","properties":{"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Fee or bribe contract from a Sugar rewards read"},"tokens":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"description":"Reward tokens to claim from this contract"}},"required":["contract","tokens"],"additionalProperties":false}},"claim_rebase":{"description":"Also claim the RewardsDistributor rebase, which compounds into the lock","type":"boolean"}},"required":["chain_id","sender","venft_id"],"additionalProperties":false},"protocol":"aerodrome","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"decode_uniswap_v4_position_info","title":"Decode Uniswap V4 position info","description":"Decode the packed PositionInfo returned by wallet reads into signed tick bounds, subscriber flag and the truncated pool-ID prefix. This is local integer decoding, not a state query.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"info":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}},"required":["info"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tick_lower":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tick_upper":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"has_subscriber":{"type":"boolean"},"pool_id_prefix":{"type":"string"},"instruction":{"type":"string"}},"required":["tick_lower","tick_upper","has_subscriber","pool_id_prefix","instruction"],"additionalProperties":{}}},{"name":"quote_uniswap_liquidity","title":"Calculate Uniswap concentrated liquidity amounts","description":"Calculate V3/V4 range liquidity, rounded mint/burn amounts and explicit token bounds from a current sqrt-price snapshot and raw token budgets, or an exact liquidity amount. Fees are excluded. Obtain current state using prepare_uniswap_reads.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tick_lower":{"type":"integer","minimum":-887272,"maximum":887272},"tick_upper":{"type":"integer","minimum":-887272,"maximum":887272},"tick_spacing":{"type":"integer","minimum":1,"maximum":32767},"sqrt_price_x96":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"liquidity":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"slippage_bps":{"default":50,"type":"integer","minimum":0,"maximum":1000}},"required":["tick_lower","tick_upper","tick_spacing","sqrt_price_x96","amount0","amount1"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"liquidity":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"mint_amount0":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"mint_amount1":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"amount0_max":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"amount1_max":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"input_snapshot":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"live_state_queried":{"type":"boolean","const":false},"instructions":{"type":"string"}},"required":["liquidity","mint_amount0","mint_amount1","amount0_max","amount1_max","amount0_min","amount1_min","input_snapshot","live_state_queried","instructions"],"additionalProperties":{}}},{"name":"get_uniswap_deployments","title":"Get Uniswap deployments","description":"Canonical V2/V3/V4 contracts on Ethereum, Optimism, Base, Arbitrum, Unichain and Robinhood, including Permit2 and wrapped native addresses.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{}},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string","const":"uniswap"},"deployments":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"network":{"type":"string"}},"required":["chain_id","network"],"additionalProperties":{}}},"source":{"type":"string"}},"required":["protocol","deployments","source"],"additionalProperties":{}}},{"name":"discover_uniswap_pools","title":"Discover Uniswap pools","description":"Fetch indexed V2, V3 or V4 pools ranked by TVL from Uniswap's interface API. Filter by chain and token; paginate using the last pool's TVL as tvl_cursor. Returns token symbols and decimals, liquidity and daily volume.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"version":{"type":"string","enum":["v2","v3","v4"]},"token_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"first":{"default":20,"type":"integer","minimum":1,"maximum":100},"tvl_cursor":{"type":"number","minimum":0}},"required":["chain_id","version"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string"},"fetched_at":{"type":"string"},"indexed_data":{"type":"boolean","const":true},"partial":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":{}}},"data":{}},"required":["source","fetched_at","indexed_data","partial","errors","data"],"additionalProperties":{}}},{"name":"get_uniswap_pool","title":"Get a Uniswap pool","description":"Fetch indexed pool details, currencies, fee, TVL, volume and supplies. V4 takes a bytes32 pool ID; V2/V3 take an address. Use prepare_uniswap_reads for current chain state.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"version":{"type":"string","enum":["v2","v3","v4"]},"pool":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$"}},"required":["chain_id","version","pool"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string"},"fetched_at":{"type":"string"},"indexed_data":{"type":"boolean","const":true},"partial":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":{}}},"data":{}},"required":["source","fetched_at","indexed_data","partial","errors","data"],"additionalProperties":{}}},{"name":"get_uniswap_pool_ticks","title":"Get Uniswap liquidity depth data","description":"Fetch paginated initialized ticks and exact liquidityNet/liquidityGross strings for V3/V4 liquidity depth charts. first/skip bound each request; combine with current pool liquidity and tick from prepare_uniswap_reads. Indexer data can lag.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"version":{"type":"string","enum":["v3","v4"]},"pool":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$"},"first":{"default":100,"type":"integer","minimum":1,"maximum":1000},"skip":{"default":0,"type":"integer","minimum":0,"maximum":100000}},"required":["chain_id","version","pool"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string"},"fetched_at":{"type":"string"},"indexed_data":{"type":"boolean","const":true},"partial":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":{}}},"data":{}},"required":["source","fetched_at","indexed_data","partial","errors","data"],"additionalProperties":{}}},{"name":"get_uniswap_charts","title":"Get Uniswap pool charts","description":"Fetch timestamped token0/token1 prices and USD volume history over the requested duration from the same GraphQL fields as the open source Uniswap interface. Empty series means no indexed data, never zero volume.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"version":{"type":"string","enum":["v2","v3","v4"]},"pool":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$"},"duration":{"default":"WEEK","type":"string","enum":["HOUR","DAY","WEEK","MONTH","YEAR","MAX"]}},"required":["chain_id","version","pool"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string"},"fetched_at":{"type":"string"},"indexed_data":{"type":"boolean","const":true},"partial":{"type":"boolean"},"errors":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":{}}},"data":{}},"required":["source","fetched_at","indexed_data","partial","errors","data"],"additionalProperties":{}}},{"name":"prepare_uniswap_reads","title":"Prepare Uniswap pool and position reads","description":"Return exact wallet read bundles for pool state, reserves, positions and ownership. V3 supports bounded owner-index enumeration. V4 requires known token IDs. Verify returned tokens, fee, factory/pool key, tick spacing and owner before preparing liquidity operations.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"version":{"type":"string","enum":["v2","v3","v4"]},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"default":3000,"type":"integer","minimum":0,"maximum":8388608},"tick_spacing":{"default":60,"type":"integer","minimum":1,"maximum":32767},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"pool_address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"owner":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_ids":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}},"owner_indices":{"default":[],"maxItems":30,"type":"array","items":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}}},"required":["chain_id","version","token0","token1"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"read_calls_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"required":["read_calls_reference"],"additionalProperties":{}}},{"name":"prepare_uniswap_v2_add_liquidity","title":"Prepare Uniswap V2 liquidity deposit","description":"Add liquidity or create a V2 pair with exact token approvals and cleanup. Amounts are raw units; sorted token0/token1 and explicit minimum outputs are required. use_native pays ETH for the wrapped-native side. Execute atomically through the wallet.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount0":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"use_native":{"default":false,"type":"boolean"}},"required":["chain_id","sender","deadline","token0","token1","amount0","amount1","amount0_min","amount1_min"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v2_remove_liquidity","title":"Prepare Uniswap V2 liquidity withdrawal","description":"Burn an exact LP amount through the canonical V2 router; realize accrued fees with principal. Raw minima protect withdrawal proceeds. LP token address is derived from the factory. Optional native unwrapping. V2 has no separate fee claim. Requires atomic LP approval and cleanup.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"liquidity":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"unwrap_native":{"default":false,"type":"boolean"}},"required":["chain_id","sender","deadline","token0","token1","liquidity","amount0_min","amount1_min"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v3_add_liquidity","title":"Prepare Uniswap V3 liquidity deposit","description":"Mint a ranged NFT or increase token_id with raw desired amounts and minima. First verify factory fee tick spacing and position tokens/range. Optional initialize_sqrt_price_x96 creates the pool; use_native pays ETH and refunds excess. Exact approvals and cleanup require an atomic wallet.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount0":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"tick_lower":{"type":"integer","minimum":-887272,"maximum":887272},"tick_upper":{"type":"integer","minimum":-887272,"maximum":887272},"tick_spacing":{"type":"integer","minimum":1,"maximum":32767},"fee":{"type":"integer","minimum":1,"maximum":999999},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"use_native":{"default":false,"type":"boolean"},"initialize_sqrt_price_x96":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}},"required":["chain_id","sender","deadline","token0","token1","amount0","amount1","amount0_min","amount1_min","tick_lower","tick_upper","tick_spacing","fee"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v3_remove_liquidity","title":"Prepare Uniswap V3 liquidity withdrawal","description":"Decrease exact uint128 liquidity, collect principal and all accrued fees, and optionally burn a fully emptied NFT. Raw minima protect withdrawal proceeds. Optional unwrap_native requires verified position currencies.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"liquidity":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"burn":{"default":false,"type":"boolean"},"unwrap_native":{"default":false,"type":"boolean"}},"required":["chain_id","sender","deadline","token0","token1","token_id","liquidity","amount0_min","amount1_min"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v3_collect_fees","title":"Prepare Uniswap V3 fee collection","description":"Collect all owed fees without removing liquidity, optionally unwrapping WETH. Verify NFT ownership and currencies first. V3 collect has no onchain deadline; regenerate and simulate before execution.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"unwrap_native":{"default":false,"type":"boolean"}},"required":["chain_id","sender","deadline","token0","token1","token_id"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v4_add_liquidity","title":"Prepare Uniswap V4 liquidity deposit","description":"Mint or increase an exact liquidity amount using raw uint128 token maxima. Zero token0 means native ETH. Uses exact ERC20 and Permit2 approvals with cleanup, settles both signs of accrued-fee deltas on increase, and refunds native surplus. Verify NFT pool key/range and hook behavior; hook_data is forwarded unchanged. Optional pool initialization.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"pool_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"type":"integer","minimum":0,"maximum":8388608},"tick_spacing":{"type":"integer","minimum":1,"maximum":32767},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"hook_data":{"default":"0x","type":"string","maxLength":16386,"pattern":"^0x(?:[0-9a-fA-F]{2})*$"},"tick_lower":{"type":"integer","minimum":-887272,"maximum":887272},"tick_upper":{"type":"integer","minimum":-887272,"maximum":887272},"liquidity":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_max":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_max":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"initialize_sqrt_price_x96":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}},"required":["chain_id","sender","deadline","pool_id","token0","token1","fee","tick_spacing","tick_lower","tick_upper","liquidity","amount0_max","amount1_max"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v4_remove_liquidity","title":"Prepare Uniswap V4 liquidity withdrawal","description":"Remove liquidity and take principal plus fees to the sender. Optional burn:true requires liquidity:0 and withdraws the entire NFT with minima applied to the full position. Requires exact pool currencies and hook data; uint128 minima bound principal outputs.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"pool_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"type":"integer","minimum":0,"maximum":8388608},"tick_spacing":{"type":"integer","minimum":1,"maximum":32767},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"hook_data":{"default":"0x","type":"string","maxLength":16386,"pattern":"^0x(?:[0-9a-fA-F]{2})*$"},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"liquidity":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount0_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"amount1_min":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"burn":{"default":false,"type":"boolean"}},"required":["chain_id","sender","deadline","pool_id","token0","token1","fee","tick_spacing","token_id","liquidity","amount0_min","amount1_min"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_uniswap_v4_collect_fees","title":"Prepare Uniswap V4 fee collection","description":"Poke a V4 position with zero liquidity decrease then take both currencies to the sender. Principal remains invested. Verify ownership, pool key and hook behavior first.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"type":"string","enum":["1","10","130","4663","8453","42161"]},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"deadline":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"pool_id":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"token0":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"token1":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"type":"integer","minimum":0,"maximum":8388608},"tick_spacing":{"type":"integer","minimum":1,"maximum":32767},"hooks":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"hook_data":{"default":"0x","type":"string","maxLength":16386,"pattern":"^0x(?:[0-9a-fA-F]{2})*$"},"token_id":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"}},"required":["chain_id","sender","deadline","pool_id","token0","token1","fee","tick_spacing","token_id"]},"protocol":"uniswap","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"get_lido_deployment","title":"Get the fixed Lido mainnet deployment","description":"Locally return canonical Ethereum stETH, wstETH, and WithdrawalQueueERC721 addresses plus direct wallet-read guidance. This server makes no Lido API, RPC, or indexer request.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"protocol":{"type":"string"},"network_access":{"type":"string","const":"none"},"source":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"agent_market_data_discovery":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"limitations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"deployment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["protocol","network_access","source","agent_market_data_discovery","limitations","deployment"],"additionalProperties":{}}},{"name":"prepare_lido_stake","title":"Prepare Lido ETH staking","description":"Prepare the canonical Lido submit call with exact native ETH value and an explicit or zero referral. The agent must read current staking pause and limit state directly; the wallet then simulates the exact transaction.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact native ETH stake amount in wei"},"referral":{"description":"Optional Lido referral address; defaults to zero address","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","amount"],"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lido_wrap","title":"Prepare stETH wrapping","description":"Prepare an exact stETH approval, wstETH wrap call, and allowance cleanup in one atomic wallet plan.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact stETH amount to wrap in base units"}},"required":["chain_id","sender","amount"],"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lido_unwrap","title":"Prepare wstETH unwrapping","description":"Prepare a direct wstETH unwrap call for an exact share amount, returning rebasing stETH to the sender.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Exact wstETH amount to unwrap in base units"}},"required":["chain_id","sender","amount"],"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lido_withdrawal_request","title":"Prepare a Lido withdrawal request","description":"Prepare one or more bounded stETH withdrawal requests with an exact queue approval and cleanup. This irreversible asynchronous action mints unstETH NFTs, stops rewards while queued, and can settle below 1:1 after extraordinary losses; wallet simulation and clear user review are required.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"amounts":{"minItems":1,"maxItems":64,"type":"array","items":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Base units"},"description":"One to 64 stETH request amounts, each from 100 wei through 1000 stETH"},"owner":{"description":"Recipient/owner of the unstETH request NFTs; defaults to sender","type":"string","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["chain_id","sender","amounts"],"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}},{"name":"prepare_lido_withdrawal_claim","title":"Prepare a Lido withdrawal claim","description":"Prepare claimWithdrawal for one finalized, unclaimed unstETH request ID owned by the sender. The agent must verify ownership and finalization directly through the user's wallet/RPC before preparation.","inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"chain_id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string","pattern":"^(?:[1-9][0-9]*|0x[0-9a-fA-F]+)$"}],"description":"Must be Ethereum chain 1"},"sender":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"request_id":{"type":"string","pattern":"^[0-9]*[1-9][0-9]*$","description":"Finalized, unclaimed unstETH NFT request ID owned by sender"}},"required":["chain_id","sender","request_id"],"additionalProperties":false},"protocol":"lido","annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"execution_plan_reference":{"type":"object","properties":{"kind":{"type":"string","const":"artifact_reference"},"artifact_type":{"type":"string","enum":["execution_plan","read_calls","token_list","typed_data_signature_request"]},"url":{"type":"string"},"integrity":{"type":"object","properties":{"algorithm":{"type":"string","const":"keccak256"},"value":{"type":"string"}},"required":["algorithm","value"],"additionalProperties":{}},"bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"instruction":{"type":"string"}},"required":["kind","artifact_type","url","integrity","bytes","instruction"],"additionalProperties":{}}},"additionalProperties":{}}}]}