For the complete documentation index, see llms.txt. This page is also available as Markdown.

Analysis Tool

Analyze files, calculate results, or create a chart from a plain-language question. The tool generates and runs Python code, so you can inspect both the calculation and its result.

Analyze your data

  1. Make the source files available to the workflow or agent. In Query, name the relevant files and columns and state the calculation you need.

  2. Include filters, units, and how to handle missing values. Each query must contain the information needed for that calculation.

  3. Run the tool. Check Success, then compare Result with the source data. Inspect Code when you need to understand the calculation.

Result: The result contains the calculation output and executed code. Chart and image links are returned when a chart was created.

Behavior and troubleshooting

Each execution starts without variables from earlier executions. Include the source and instructions again for a follow-up calculation. If a calculation fails, use the error to clarify the next query. A successful execution does not establish that the chosen calculation or interpretation is correct.

Inputs

Field
Parameter
Description

Query (required)

query

A tool to analyze data, create charts and translate natural language queries into python code.

Outputs

Field
Parameter
Description

Success

success

Whether the code was executed successfully.

Code

code

The Python code that was executed.

Result

result

The result of the code execution.

Chart URL

chart_url

The public URL of the chart that was generated (if any).

Image URL

image_url

The public URL of the downloadable chart image (if any).

Data Types, Lists, Missing Values, and Empty Results

Was this helpful?