A practical guide explains how to diagnose missing tools, timeouts, rejected inputs, rounding errors, credential issues and incorrect answers in Copilot Studio agent flows.
Agent flows that Copilot Studio agents use as tools can fail when they are added, while they run, or when the agent turns their output into a response. The recommended first step is to resend the failing message in the Test your agent panel and inspect the activity map to confirm whether the tool was called and which inputs and outputs were used.
A flow may be absent from the tool list if it lacks the When an agent calls the flow trigger or Respond to the agent action, uses asynchronous responses, is unpublished, is outside a solution or is not on the Copilot Studio plan. Other failures include FlowActionTimedOut when a response takes more than 100 seconds, and FlowActionBadRequest or BindingKeyNotFoundError after inputs or outputs change.
The guide also covers data and calculation problems. Agent-to-flow exchanges support Text, Number and Boolean values, while files require a separate File input. For currency calculations, amounts should remain integer cents and VAT rounding must add 50 before integer division. Tool credentials also determine whether users access data with their own permissions or through maker-provided, service-account connections.
Finally, an agent can produce an unsupported figure from a knowledge source or conversation memory without calling the tool, and model changes can alter how tool output is phrased. Recommended safeguards include prohibiting figures that the tool did not return, testing follow-up questions, reviewing the Allow ungrounded responses setting and rerunning a known-answer test set after changes.