# ToolStringRunMapper

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/smith/evaluation/string_run_evaluator/ToolStringRunMapper)

Map an input to the tool.

## Signature

```python
ToolStringRunMapper()
```

## Extends

- `StringRunMapper`

## Methods

- [`map()`](https://reference.langchain.com/python/langchain-classic/smith/evaluation/string_run_evaluator/ToolStringRunMapper/map)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/8fec4e7ceee2c368b068c49f9fed453276e210e7/libs/langchain/langchain_classic/smith/evaluation/string_run_evaluator.py#L214)