list_methods
Retrieve a list of method signatures for a specified Pharo Smalltalk package. Returns each method in ClassName>>#methodName format.
Instructions
Get list of methods in a package.
Args: package_name: The name of the package
Returns: dict: API response with success/error and result - Success: {"success": True, "result": list[str]} - result contains list of method signatures Each method: "ClassName>>#methodName" - Error: {"success": False, "error": str} - error contains error message
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": {
"package_name": "<package_name>"
},
"name": "list_methods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | The name of the package |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||