Uses of Class
com.agentforge4j.testkit.tool.ScriptedToolProvider
Packages that use ScriptedToolProvider
-
Uses of ScriptedToolProvider in com.agentforge4j.testkit.tool
Methods in com.agentforge4j.testkit.tool that return ScriptedToolProviderModifier and TypeMethodDescriptionstatic ScriptedToolProviderCreates a provider whose capability fails with the given message (drives the decision-on-failure path toAWAITING_TOOL_DECISION).static ScriptedToolProviderCreates a provider whose capability blocks until interrupted — driving the authoritative-timeout arm of the governance chokepoint.static ScriptedToolProviderScriptedToolProvider.requiring(String providerId, String capability, String output, String requiredProperty) Creates a succeeding provider that advertisesrequiredPropertyas a required top-level input field, so aTOOL_INVOCATIONwhose arguments omit it fails argument validation and drives the run toAWAITING_TOOL_DECISIONbefore the provider is ever invoked.static ScriptedToolProviderScriptedToolProvider.succeeding(String providerId, String capability, String output) Creates a provider whose capability succeeds with the given output.static ScriptedToolProviderScriptedToolProvider.throwing(String providerId, String capability, RuntimeException failure) Creates a provider whose capability throws frominvokeinstead of returning a result — driving the execution-exception arm of the governance chokepoint (a provider bug or transport crash), which a result-failure cannot reach.