get_package_modules
Lists all modules in a Move package, including their functions and structs. Use this to inspect the structure of any Sui Move package by providing its package ID.
Instructions
List all modules in a Move package, with their functions and structs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packageId": "<packageId>"
},
"name": "get_package_modules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageId | Yes | Package object ID |