collection_value
Calculate the total estimated value of a comic collection stored on the Casper blockchain. Optionally add or query comics from the on-chain registry.
Instructions
Calculate the total estimated value of a comic collection stored on the Casper blockchain. Optionally add or query comics from the on-chain registry.
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": {
"action": "<action>"
},
"name": "collection_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get_count: read comic count from chain | add_comic: add a comic to blockchain | value_estimate: estimate total collection value | |
| comics | No | List of comics to value (required for value_estimate) |