Load Contract Artifact
genlayer_load_contract_artifactLoad a local contract artifact file, returning base64 content and metadata for use in GenLayer workflows.
Instructions
Load a local contract artifact or bytecode file and return base64 plus file metadata for downstream GenLayer workflows.
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": {
"contractPath": "<contractPath>"
},
"name": "genlayer_load_contract_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractPath | Yes | Local path to a compiled contract artifact or binary/code file. |