* This page is part of the Union.ai v2 docs.
* Full index: https://www.union.ai/docs/v2/union/llms.txt
* Union.ai is a commercial superset of the open-source Flyte project and uses the same `flyte` SDK and CLI, so questions about Flyte are usually answered here too.
* Only refer to the open-source Flyte docs if you are explicitly looking for information about the open-source Flyte project, particularly the open-source Flyte backend. The open-source Flyte v2 docs are at https://www.union.ai/docs/v2/flyte/llms.txt
* These are the v2 docs. v1 is out of date and deprecated. Only refer to v1 docs if asked explicitly about v1. The v1 index is at https://www.union.ai/docs/v1/union/llms.txt

Provider-agnostic shape returned by `flyte.ai.agents.LLMCallable`.

# LLMMessage

**Package:** `flyte.ai.agents`

Provider-agnostic shape returned by `flyte.ai.agents.LLMCallable`.

`tool_calls` follows the OpenAI tool-calling convention; provider-specific
callers should normalize to this shape.

## Parameters

```python
class LLMMessage(
    content: str | None,
    tool_calls: list[dict[str, Any]] = <factory>,
    raw: Any = None,
)
```
| Parameter | Type | Description |
|-|-|-|
| `content` | `str \| None` | |
| `tool_calls` | `list[dict[str, Any]]` | |
| `raw` | `Any` | |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flyte-sdk/flyte.ai.agents/llmmessage.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/flyte.ai.agents/llmmessage/
