Skip to main content

Scheduler tools

SheluderTool

Creates a future scheduled action persisted in SQLite. Input:
  • userId
  • chain
  • action: swap|bridge|zap|buy|sell|addLiquidity|removeLiquidity
  • data (JSON string)
  • timeTrigger (ISO string)
  • optional onChainTrigger object
await sdk.executeTool("SheluderTool", {
  userId: "user-1",
  chain: "1",
  action: "buy",
  data: "{\"token\":\"ETH\",\"amountUsd\":100}",
  timeTrigger: "2026-06-01T10:00:00.000Z",
});

GetAllSchedulesTool

Returns all scheduled actions.
await sdk.executeTool("GetAllSchedulesTool", {});

SwapLinkGeneratorTool

Inputs:
  • fromAmount, fromChain, fromToken, toChain, toToken

BridgeLinkGeneratorTool

Inputs:
  • fromAmount, fromChain, fromToken, toChain, toToken
Both currently build URLs on https://test.dzap.io/trade.

Chain context helpers

RequestChainChangeTool

Queues a chain change request context for a session.

ChangeChainTool (interactive)

Waits up to 120 seconds for confirmation resolution.
Last modified on May 26, 2026