add_helper_scripts
Add automation scripts for building, deploying, upgrading, querying, testing, and interacting with a Klever smart contract project. Creates a scripts/ directory and updates .gitignore.
Instructions
Add build, deploy, upgrade, query, test, and interact automation scripts to an existing Klever smart contract project. Creates a scripts/ directory with bash scripts and updates .gitignore. Run this from the project root directory (where Cargo.toml is located). This tool generates scaffold files — for koperator CLI syntax reference (correct flags like --args, --values for payments), use search_documentation instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_helper_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractName | No | The contract name to embed in scripts (e.g. "my-token"). If omitted, auto-detected from the `name` field in Cargo.toml. |