Skip to main content
Glama

aptos-mcp

test_aptos_contract

Evaluate Aptos Move contracts by specifying the contract path, optionally testing a specific function and its arguments. This tool integrates with the Aptos CLI for effective contract validation.

Instructions

Test an Aptos Move contract using the Aptos CLI.

Args:
    contract_path: Path to the contract directory or file
    function_name: Optional function to test specifically
    args: Optional list of arguments for the function

Input Schema

NameRequiredDescriptionDefault
argsNo
contract_pathYes
function_nameNo

Input Schema (JSON Schema)

{ "properties": { "args": { "default": null, "items": {}, "title": "Args", "type": "array" }, "contract_path": { "title": "Contract Path", "type": "string" }, "function_name": { "default": "", "title": "Function Name", "type": "string" } }, "required": [ "contract_path" ], "title": "test_aptos_contractArguments", "type": "object" }

Other Tools from aptos-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tlazypanda/aptos-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server