Anchorage API reference
    Preparing search index...

    Mastra input processor that authorizes an actor before model execution.

    Implements

    • Processor<"breakwater-rbac">
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: "breakwater-rbac" = ...

    Stable Mastra processor identifier.

    Methods

    • Process input messages before they are sent to the LLM

      Parameters

      • args: ProcessInputArgs

      Returns ProcessInputResult

      Either:

      • MessageList: The same messageList instance passed in (indicates you've mutated it)
      • MastraDBMessage[]: Transformed messages array (for simple transformations)
      • { messages, systemMessages }: Object with both messages and modified system messages