0
0
Agentic AIml~10 mins

Why tools extend agent capabilities in Agentic AI - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to show how an agent uses a tool to perform a task.

Agentic AI
result = agent.use_tool([1])
Drag options to blanks, or click blank then click option'
A'calendar'
B'notebook'
C'calculator'
D'email'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a tool unrelated to calculations.
2fill in blank
medium

Complete the code to add a new tool to the agent's capabilities.

Agentic AI
agent.tools.append([1])
Drag options to blanks, or click blank then click option'
A'scanner'
B'translator'
C'printer'
D'camera'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing tools unrelated to language processing.
3fill in blank
hard

Fix the error in the code where the agent tries to use a tool but the tool name is missing.

Agentic AI
output = agent.execute([1])
Drag options to blanks, or click blank then click option'
A'search_engine'
B''
CNone
D'weather_app'
Attempts:
3 left
💡 Hint
Common Mistakes
Leaving the tool name empty or None.
4fill in blank
hard

Fill both blanks to create a dictionary mapping tools to their functions.

Agentic AI
tool_functions = { [1]: [2] for tool in tools_list }
Drag options to blanks, or click blank then click option'
Atool
Btool.name
Ctool.function
Dtool.type
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect attributes that don't represent name or function.
5fill in blank
hard

Fill all three blanks to filter tools that extend agent capabilities and create a summary dictionary.

Agentic AI
extended_tools = {tool.[1]: tool.[2] for tool in all_tools if tool.[3]
Drag options to blanks, or click blank then click option'
Aname
Bfunction
Cis_active
Dversion
Attempts:
3 left
💡 Hint
Common Mistakes
Using attributes that don't represent name, function, or active status.