# CogniswitchKnowledgeRequest

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/cogniswitch/tool/CogniswitchKnowledgeRequest)

Tool that uses the Cogniswitch service to answer questions.

name: str = "cogniswitch_knowledge_request"
description: str = (
    "A wrapper around cogniswitch service to answer the question
    from the knowledge base."
    "Input should be a search query."
)

## Signature

```python
CogniswitchKnowledgeRequest()
```

## Extends

- `BaseTool`

## Properties

- `name`
- `description`
- `cs_token`
- `OAI_token`
- `apiKey`
- `api_url`

## Methods

- [`answer_cs()`](https://reference.langchain.com/python/langchain-community/tools/cogniswitch/tool/CogniswitchKnowledgeRequest/answer_cs)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/tools/cogniswitch/tool.py#L10)