simplicity_create_witness
Generate witness templates for contract types such as empty, p2ms, htlc, or vault to simplify creating witnesses for Simplicity smart contracts.
Instructions
Create witness template for a contract type
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": {
"contract_type": "<contract_type>"
},
"name": "simplicity_create_witness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_type | Yes | Type of contract |