Skip to content

ArtifactStoreTool

This docs was updated at: 2026-03-21

com.paragon.harness.tools.ArtifactStoreTool  ยท  Class


Exposes an ArtifactStore as FunctionTools for read/write/list operations.

Usage:

ArtifactStore store = FilesystemArtifactStore.create(Path.of("./artifacts"));
Agent agent = Agent.builder()
    .addTools(ArtifactStoreTool.all(store).toArray(new FunctionTool[0]))
    .build();

Since: 1.0

Methods

all

public static @NonNull List<FunctionTool<?>> all(@NonNull ArtifactStore store)

Creates all artifact store tools (read, write, list).

Parameters

Name Description
store the artifact store to expose

Returns

list of tools