# convert_to_nova_tool

> **Function** in `langchain_amazon_nova`

📖 [View in docs](https://reference.langchain.com/python/langchain-amazon-nova/chat_models/convert_to_nova_tool)

Convert a tool to Nova's tool format.

Nova uses OpenAI-compatible tool format. This function handles conversion
from LangChain tools, Pydantic models, or raw dicts.

## Signature

```python
convert_to_nova_tool(
    tool: Any,
) -> Dict[str, Any]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `tool` | `Any` | Yes | Tool to convert. Can be: - LangChain Tool (with .name, .description, .args_schema) - Pydantic BaseModel - Dict with OpenAI tool format |

## Returns

`Dict[str, Any]`

Dict in OpenAI/Nova tool format:

---

[View source on GitHub](https://github.com/amazon-nova-api/langchain-amazon-nova/blob/213daad519b5c69124a9029884d7f593944bd35f/libs/amazon_nova/langchain_amazon_nova/chat_models.py#L57)