DZap AI works best when tools are presented in clear domains rather than as one giant bucket of magical functions.Documentation Index
Fetch the complete documentation index at: https://docs.dzap.io/llms.txt
Use this file to discover all available pages before exploring further.
The five categories
1. Asset and market tools
Identify assets and fetch market context. Typical examples: token lookup, token metadata, token price, amount conversion, chain or network context, trending tokens, news and sentiment. → See Market Data for the concrete tools we ship.2. Wallet and portfolio tools
Inspect what a wallet currently holds or is doing. Typical examples: wallet balances, position lookup, portfolio summary, transaction history, health and risk indicators, watchlists and alerts. → See Wallet & DeFi.3. Routing and execution tools
Move from idea to executable plan. Typical examples: swap quote, bridge quote, pool or vault details, build transaction, simulate transaction, perform transaction, gas estimate. → See Wallet & DeFi (ZapCallDataGeneratorTool, PerformZapTool).
4. Safety and policy tools
Validate actions before anything touches real execution. Typical examples: token verification, approval checks, allowance checks, route sanity validation, slippage policy checks, execution risk evaluation. → Surfaces today through SDK approval modes; richer policy tools land with the runtime layer (roadmap).5. Knowledge and support tools
Help assistants answer integration or product questions. Typical examples: docs retrieval, RAG over documentation, integration guidance, troubleshooting support. → See Data Sources (RagOverDocsTool, WebSearchTool).
How tools work
Each tool has:- Name — identifier the agent uses to call it.
- Description — natural-language hint for the model.
- Parameters — typed schema.
- execute — async function that does the work.
execute, and feeds results back.
Read vs execution-sensitive
| Read | Execution-sensitive |
|---|---|
PriceTool, BalanceTool, PoolTool, WebSearchTool, … | PerformZapTool, ZapCallDataGeneratorTool, ChangeChainTool |
| Always safe | Confirmation required |
| Cached where possible | Idempotent on retry; no double-execution |
Suggested maturity model
| Category | Best first step | Later expansion |
|---|---|---|
| Asset & market | price, token lookup | news, sentiment, analytics |
| Wallet & portfolio | balances, positions | alerts, history, health monitoring |
| Routing & execution | quotes, build, simulate | policy-aware execute |
| Safety & policy | slippage, validation | approval and risk engines |
| Knowledge | docs search | product copilots and support agents |
Calling tools directly
You don’t have to go through the agent. From SDK-AI:Concrete tool inventory
Tools shipped today (fromToolNames.ts):
PriceTool,BalanceTool,TokenAddressTool,DollarToTokenAmountToolTrendingNewsTool,TrendingTokenTool,SentimentTool,PricePredictionToolZapCallDataGeneratorTool,BridgeLinkGeneratorTool,SwapLinkGeneratorToolWebSearchTool,DefiPositionsTool,RagOverDocsTool,PoolToolRequestChainChangeTool,ChangeChainTool,ShowBalanceUIToolSheluderTool,GetAllSchedulesTool,PerformZapTool
Wallet & DeFi
Balances, pools, positions, zap execution.
Market Data
Prices, predictions, sentiment, trending.
Data Sources
Web search, RAG, external APIs.
Utilities
Link generators, scheduler, chain change.