Scaffold Direct-Mode Test
genlayer_scaffold_testGenerates a fast in-memory test for a contract template using real fixtures and mocks for web and LLM calls.
Instructions
Generate a fast in-memory direct-mode test (genlayer-test) for a contract template. Uses the real fixtures (direct_vm, direct_deploy, direct_alice) and mocks web/LLM calls.
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": {
"template": "<template>"
},
"name": "genlayer_scaffold_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Contract class name the test targets. | |
| template | Yes | storage | llm-judge | web-oracle | token |