Get a template's Solidity
get_templateThe full Solidity source of a hook template with your numbers written in, its permissions and the address flag mask its deployment must match. Settings use the units list_templates shows (% , minutes, buys, HYPE).
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_id": "<template_id>"
},
"name": "get_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | No | Settings to change, keyed by setting key; the rest stay default | |
| template_id | Yes | A template id from list_templates, e.g. nth-buy-pot |