export_package
Export a Smalltalk package to Tonel format at a specified file path. Provide package name and optional output directory.
Instructions
Export a package in Tonel format.
Args: package_name: The name of the package to export path: The path where to export the package (default: /tmp)
Returns: dict: API response with success/error and result - Success: {"success": True, "result": str} - result contains export success message with path - 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": "export_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | The name of the package to export | |
| path | No | The path where to export the package | /tmp |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||