# Code Interpreter

This tool can processe various data formats and generates files with data and graph images. Code Interpreter lets Assistants write and run Python code in a secure environment, enabling iterative coding to tackle complex problems.

This tool is ideal for data analysis (such as creating graphs from spreadsheets), file manipulation (like merging or watermarking PDF files), and solving complex math problems.

{% hint style="info" %}
Example email request:\
\
"Create a graph that visualizes the relationship between"
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.decoded.app/guide/assistant-tools/code-interpreter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
