# Adding tools to yaml file

**URL:** <https://community.crewai.com/t/adding-tools-to-yaml-file/2681>\
**Category:** CrewAI Community Support\
**Created:** [January 11, 2025, 1:38pm UTC](https://community.crewai.com/t/adding-tools-to-yaml-file/2681 "2025-01-11T13:38:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@Karthik](https://community.crewai.com/u/Karthik)\
**Post date:** [January 11, 2025, 1:38pm UTC](https://community.crewai.com/t/adding-tools-to-yaml-file/2681/1 "2025-01-11T13:38:29Z")

</div>

Hi

I am trying to create a Test case generator agent which will read the requirements from the word document and draft testcases and traceability matrix based on the requirements.

I plan to use the FileReadTool for reading the requirement document in word and create test cases.

How can I add the tool in the agents.yaml file?

TestCase\_Agent:  
role: \>  
{topic} TestCase Agent  
goal: \>  
Create detailed test cases based on requirements provided in the requirement document  
backstory: \>  
You are an experienced tester with strong understanding of fucbtional testing and an expert in drafting test cases which are comprehensive, covering requirements with clear execution steps.

TestCase\_task:  
description: \>  
Understand the requirements from the “Requirement” section and create testcases which are very detailed  
expected\_output: \>  
Read the word document and create comprehensive functional test cases in the word format

Thanks in advance

---

<div class="post-metadata">

**Author:** ![rthidden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/rthidden/32/2302_2.png) [@rthidden](https://community.crewai.com/u/rthidden)\
**Post date:** [January 29, 2025, 1:49am UTC](https://community.crewai.com/t/adding-tools-to-yaml-file/2681/2 "2025-01-29T01:49:47Z")

</div>

Good question. I am looking for this answer too. Did you find the answer?

---

<div class="post-metadata">

**Author:** ![Tony\_Wood](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/tony_wood/32/1876_2.png) [@Tony\_Wood](https://community.crewai.com/u/Tony_Wood)\
**Post date:** [January 29, 2025, 8:21pm UTC](https://community.crewai.com/t/adding-tools-to-yaml-file/2681/3 "2025-01-29T20:21:16Z")

</div>

Tools are added in the crew .py that calls the Agents and Task Yamls

```
writer = Agent(
    role='Content Writer',
    goal='Craft engaging blog posts about the AI industry',
    backstory='A skilled writer with a passion for technology.',
    ***tools=[docs_tool, file_tool],***
    verbose=True

```

Lots of good examples here [Tools - CrewAI](https://docs.crewai.com/concepts/tools)

FileRead is here [File Read - CrewAI](https://docs.crewai.com/tools/filereadtool)
