Plan Contract Action
genlayer_plan_contract_actionValidate and structure an execution plan for deploy, read, or write contract actions, ensuring schema-compliant arguments and optimal transaction flow.
Instructions
Build a schema-validated execution plan for deploy, read, or write contract actions.
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": {
"action": "<action>"
},
"name": "genlayer_plan_contract_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Positional arguments to validate against the schema. | |
| code | No | Base64-encoded contract code to inspect directly. | |
| from | No | Optional caller address for execution planning. | |
| value | No | Optional hex or decimal value to send for payable writes. | |
| action | Yes | Contract action to plan. | |
| address | No | Deployed contract address for read/write actions. | |
| methodName | No | Contract method name for read/write actions. | |
| contractPath | No | Optional local or repo-relative contract path for deploy workflows. | |
| statusTarget | No | Desired terminal status for transaction flows. | finalized |