Add sparklines
add_sparklinesInsert sparklines into Excel cells from a source range, placing one per row or column and replacing existing sparklines in the target range.
Instructions
Add sparklines (Insert > Sparklines) to the cells of range, one per row of
source (per column when the cells match the columns). Replaces existing ones there.
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": {
"path": "<path>",
"sheet": "<sheet>",
"range": "<range>",
"source": "<source>"
},
"name": "add_sparklines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| range | Yes | One row or column, e.g. 'G2:G9'. | |
| sheet | Yes | ||
| style | No | ||
| source | Yes | Data, e.g. 'Data!B2:F9': a sparkline per row. |