Follow-up from "Add send_duo_session_input MCP tool"
The following discussion from !255535 (merged) should be addressed:
-
@GitLabDuo started a discussion:
This treats every
403returned by theresumeroute as "not waiting for input, or you cannot resume it," butfind_workflow!in the route can also return403for unrelated reasons, most notablyforbidden_if_identity_verification_required!, whose message tells the caller to complete identity verification. Rewriting that message with the resumability guidance hides the real cause and points the agent at the wrong remediation (pollingget_duo_session, which would fail for the same reason). Consider distinguishing the resumability-specific403(e.g. by checking for the bareauthorize!failure message) from other403s, and passing the latter through unchanged.