# create_directly_answer_tool

> **Function** in `langchain_cohere`

📖 [View in docs](https://reference.langchain.com/python/langchain-cohere/react_multi_hop/prompt/create_directly_answer_tool)

`directly_answer` is a special tool that's always presented to the model as an
available tool. The model only ever invokes this whilst answering and no
`AgentAction` is produced, so it only needs to be added to the prompt.

## Signature

```python
create_directly_answer_tool() -> BaseTool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-cohere/blob/98e3d038d365eebd6dabcf8c4d94072580f7401d/libs/cohere/langchain_cohere/react_multi_hop/prompt.py#L324)