upload_data
Register a JSON dataset under a name for later use in Vega-Lite visualizations. Call this before visualizing data.
Instructions
A tool to upload and register a JSON dataset by name for use in subsequent visualizations. When to use this tool:
When the user asks to visualize data, call this tool first to register the dataset, then call visualize_data. How to use this tool:
Provide a short, descriptive name and the dataset as a list of JSON objects (records).
Each object should share a consistent set of keys (fields).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |