A11 TypeScript API - v0.7.0
    Preparing search index...

    Class ActionPortSchema

    Contract for one named action input or output node.

    Port descriptions and types form the interface shown to application code and, commonly, to an LLM tool schema. unary guides consumers toward one whole value while streaming ports may yield many fragments. Input autofills can supply defaults before the handler runs, but the runtime rejects an autofilled input that already contains data.

    Index
    autofills: (NodeFragment | null)[]

    Default input fragments applied before a handler runs.

    description: string

    Developer and model-facing explanation of the value.

    jsonSchema: string

    JSON Schema text supplied by a peer or caller.

    name: string

    Port name used by handlers and on the wire.

    required: boolean

    Whether callers must provide the port.

    type: string

    MIME-facing type description.

    unary: boolean

    Whether the port carries at most one value.