Skip to main content

AGENT.TOOL_NEEDS_SECRET

Error code AGENT.TOOL_NEEDS_SECRET, raised by toolkits/ai. Area: AGENT.

What it means​

  • Agent '…' needs the Credential input '…', which a model must never supply

What to do​

  • Hand it over in the step's credentials under the name …, or read the credential inside the agent instead of taking it as an input.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: AGENT TOOL_NEEDS_SECRET tool needs secret