# What does the Structural Agent do automatically?

When you start a Structural Agent chat, it can automatically perform the following tasks.

## Check for a source data connection

For workspaces that have not yet generated data, the Structural Agent first checks whether the workspace has a valid connection to source data. If not, it prompts you to go to workspace settings and configure the connection.

If there is a source data connection, then the Agent checks the status of the initial sensitivity scan, and prompts you to run a scan if the scan hasn't started.

For a file connector workspace, the Structural Agent checks that you have created at least one file group with files.

## Summarize the sensitivity scan results

When the sensitivity scan is complete, the Structural Agent provides a summary of the scan results.

Depending on the number of tables and columns, the Structural Agent can provide a complete list of the sensitive columns, or a more condensed summary.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2FCOfJ2338PMzv7yJr3gJA%2FAgent_ScanSummary.png?alt=media&#x26;token=b823dcfe-ede5-4712-b4fc-624b2778e7dc" alt=""><figcaption><p>Agent summary of the sensitivity scan</p></figcaption></figure>

## Prompt to apply recommended generators

Based on the scan results, the Structural Agent suggests that you apply the recommended generators for the detected sensitive columns.

<figure><img src="https://3378426797-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LSQCLFQ4bslJ-HYc8c3%2Fuploads%2F1QHk5Nac6zjXeyCLEAZ8%2FAgent_NextStepsPrompt.png?alt=media&#x26;token=0bf7b10f-86b0-4d5a-bbb5-235cd6cef6da" alt=""><figcaption><p>Agent prompt to assign generators</p></figcaption></figure>

## Prompt to generate data

When all of the sensitive columns are protected, the Agent prompts you to run the data generation.

The Agent cannot start the data generation.


---

# 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.tonic.ai/app/structural-agent/agent-automatic-tasks.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.
