# tool_schemas_to_foundry_format

> **Function** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/evaluation/converter/tool_schemas_to_foundry_format)

Convert LangChain tool objects to Foundry tool_definitions format.

## Signature

```python
tool_schemas_to_foundry_format(
    tools: Sequence[Any],
) -> list[dict[str, Any]]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `tools` | `Sequence[Any]` | Yes | Sequence of LangChain tool objects (must have ``name``, ``description``, and ``args_schema`` or ``args`` attributes). |

## Returns

`list[dict[str, Any]]`

List of tool definition dicts for Foundry evaluators.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/evaluation/converter.py#L180)