stellar_contract_optimize
Optimize WASM files for deployment by providing input paths and an optional output path. Prepares Stellar contracts for on-chain use.
Instructions
Optimize WASM files for deployment
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": {
"wasm_paths": "<wasm_paths>"
},
"name": "stellar_contract_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasm_out | No | Output path for optimized WASM (defaults to .optimized.wasm suffix) | |
| wasm_paths | Yes | Paths to WASM files to optimize |