# LangChain Tools

[LangChain tools](https://python.langchain.com/v0.1/docs/modules/model_io/chat/function_calling/) can be used to enable interaction of models with the world.

````{only} internal
Coming soon, Imagine SDK will incorporate tools to interact with Qualcomm systems.
````

## Basic Example

```{literalinclude} ../../examples/langchain/basics/05.0_tool_calling.py
```

## Different ways for tools specification

```{literalinclude} ../../examples/langchain/basics/05.1_tool_calling.py
```

## 1. Agent Executor

```{literalinclude} ../../examples/langchain/basics/05.2.0_agent_executor.py
```

## 2. Agent Executor

```{literalinclude} ../../examples/langchain/basics/05.2.1_agent_executor.py
```

## Structured Output

```{literalinclude} ../../examples/langchain/basics/06_structured_output.py
```
