Adding tools to yaml file

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

1 Like

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

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

FileRead is here File Read - CrewAI

1 Like