Skip to content

WorkflowRequestForm

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Defines how the UI presents a pending request.

[JsonConverter(typeof(JsonStringEnumConverter<WorkflowRequestForm>))]
public enum WorkflowRequestForm

Boolean = 2

Yes or no response.

Json = 0

Free-form JSON. The UI displays a text box and sends its content unchanged.

PlanReview = 3

Plan approval: approve the plan or return it with revision text. This is the plan-review flow of the Magentic pattern.

Text = 1

Plain-text response.

The server derives the form from the port’s response type. It does this deliberately so clients do not need to resolve.NET type names in the wire contract.

Serialized as a JSON string name.