build_smart_contract_on_aptos
Build smart contracts for Aptos dapps by generating resources from move and management directories. Guides developers through the contract building process.
Instructions
Build an Aptos smart contract - returns all resources from move and management directories. Use this tool when you need guidance on how to build a smart contract for a dapp on Aptos.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.ts:37-53 (handler)The 'build_smart_contract_on_aptos' tool implementation, which reads markdown content from 'management' and 'move' directories and returns it as text.
server.addTool({ description: "Build an Aptos smart contract - returns all resources from move and management directories. Use this tool when you need guidance on how to build a smart contract for a dapp on Aptos.", execute: async () => { const content = await readAllMarkdownFromDirectories([ "management", "move", ]); return { text: content || "No content found in management and move directories.", type: "text", }; }, name: "build_smart_contract_on_aptos", parameters: z.object({}), });