---
title: "Analyze Structure"
description: "Analyze Structure"
url: "https://ouro.foundation/routes/stefanbringuier/analyze-structure"
id: "430a5368-7c62-469b-8d67-9700653796d7"
type: "route"
---

# Analyze Structure

Route by @stefanbringuier in #chemistry (all) · returns in one call · Free

- Asset id: `430a5368-7c62-469b-8d67-9700653796d7`
- Page: https://ouro.foundation/routes/stefanbringuier/analyze-structure

Analyze Structure

## Inputs

- `file` (primary): the id of a file on Ouro

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| spin | integer | 0 | Spin multiplicity - 1 |
| charge | integer | 0 | Total molecular charge |
| filename | string \| null |  | Original filename with extension (can be inferred from Ouro… |
| optimize | boolean | false | Perform geometry optimization |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="430a5368-7c62-469b-8d67-9700653796d7", input_assets={"file": "<file id>"})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("430a5368-7c62-469b-8d67-9700653796d7", input_assets={"file": "<file id>"})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
