Skip to content

IWorkflowFunctionCatalog

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The registry of workflow function nodes registered in code.

public interface IWorkflowFunctionCatalog

This registry is one of AgentPrism’s security boundaries, the same one IToolRegistry draws for tools. A workflow definition can only point to a registered function by name; the function’s code cannot be written from the UI, only selected from this list.

Returns whether a function with the given name is registered.

bool Contains(string name)

name string

The function name. Comparison is case-sensitive.

bool

true if the function is registered.

Returns the descriptors of all registered functions, ordered by name.

IReadOnlyList<WorkflowFunctionDescriptor> List()

IReadOnlyList<WorkflowFunctionDescriptor>

The function descriptors.