> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clerk.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Voice directory

This tool searches a company directory and returns a phone number to transfer to.

Use case: AI receptionist, I want to speak to Joe Blogs, AI calls company directory tool, returns Joe Blogs' number, transfers the call to Joe Blogs useing `transfer-call` tool (runner).

A directory is a csv made up of three columns: Name, Department, Phone number.

* Select the query type. Person if searching by name. Department if searching by department. Auto if you want the tool to auto select based on the query.
* Input query. This can be either a person's name or the department / position they work in.

Implementation:

* Usually you would add this tool as a tool\_provider and have the voice AI node call the tool with a the parameter 'query'.

* Leave 'query' blank in the tool (as blank parameters are populated by the LLM upon invoking a tool call).

* AI would confirm the person found in the directory, then move onto a `transfer-call` node and inject the returned phone number into the target transfer param.
