Class HttpToolProviderFactory

java.lang.Object
com.agentforge4j.tools.http.HttpToolProviderFactory
All Implemented Interfaces:
IntegrationToolProviderFactory

public final class HttpToolProviderFactory extends Object implements IntegrationToolProviderFactory
Realises IntegrationType.HTTP_TOOL integrations: builds an HttpToolProvider over the HttpEndpointDefinitions carried in the config payload (a JSON array, one object per capability). Secret-header references are resolved at invoke time through the ToolProviderFactoryContext.secretResolver(); the resulting provider id is "http:" + definition.id().

Discovered via ServiceLoader; no connection is opened here — each request is made lazily by the provider on invocation. This is the config-loaded sibling of the code-defined AgentForge4jBootstrap.defaults().withToolProviders(...) path, which keeps working unchanged.