Product Comparison
render_comparisonRender a side-by-side comparison of products or options, showing pros, cons, ratings, and prices. Pass options as a JSON array.
Instructions
Render a side-by-side comparison of products or options with pros, cons, ratings, and prices. Pass options as a JSON array.
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": {
"options": "<options>"
},
"name": "render_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Comparison title | |
| options | Yes | JSON array: [{"name":"Option A","pros":["Fast","Cheap"],"cons":["Limited"],"rating":4.5,"price":"$999"}, ...] |