🔥 3-day streak
Cisco CCNP Automation AUTOCOR (350-901)76 / 136
Question 76 of 136
You are building a FastMCP server that exposes a tool called get_interface_status, which uses Netmiko to SSH into a router and parse interface counters. During testing, when the target device is unreachable, the tool raises an unhandled ConnectionException. The AI agent consuming this tool then produces a confident but fabricated interface status in its response to the user instead of reporting a failure. What is the BEST way to modify the tool so the agent behaves correctly?
Reviewed for accuracy · Report an issueNext question