generate_data_narrative
Transform raw data into a structured story: headline, key number, and actionable insights. Supports optional time and entity dimensions.
Instructions
Generate a data story: headline, big number, narrative text.
Returns: {title, headline, big_number, big_label, insights, summary}
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": {
"data": "<data>"
},
"name": "generate_data_narrative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts from get_resource_data() | |
| title | No | Story topic | |
| time_column | No | Optional time column | |
| max_insights | No | Max insights in narrative | |
| entity_column | No | Optional entity column |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||