invoke_chaincode
Execute transactions on Hyperledger Fabric chaincode by specifying function names and arguments to modify blockchain data.
Instructions
Invoke a transaction on the Hyperledger Fabric chaincode
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": {
"function": "<function>",
"args": "<args>"
},
"name": "invoke_chaincode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function | Yes | The chaincode function to invoke | |
| args | Yes | Arguments to pass to the chaincode function |