Member Junction
    Preparing search index...

    Interface ResolveRecordsByNameOptions

    interface ResolveRecordsByNameOptions {
        ActiveOnly?: boolean;
        AllowCandidate?: (record: NamedIdRecord) => boolean | Promise<boolean>;
        ContextUser: UserInfo;
        EntityName: string;
        FilterCandidates?: (records: NamedIdRecord[]) => Promise<NamedIdRecord[]>;
        Names: readonly string[];
        Provider: IMetadataProvider;
        StripSubAgentPrefix?: boolean;
    }
    Index

    Properties

    ActiveOnly?: boolean

    When true, restricts the initial Name IN (...) query to Status = 'Active' and requests Status in Fields.

    AllowCandidate?: (record: NamedIdRecord) => boolean | Promise<boolean>

    Optional permission or eligibility filter evaluated before accepting either an exact match or a sanitized-tool-name fallback match.

    ContextUser: UserInfo

    User context for RunView and permission checks.

    EntityName: string

    Metadata entity name ('MJ: Actions' or 'MJ: AI Agents').

    FilterCandidates?: (records: NamedIdRecord[]) => Promise<NamedIdRecord[]>

    Optional batch permission filter evaluated on non-empty exact-match results before per-record AllowCandidate.

    Names: readonly string[]

    Raw names referenced by the caller (canonical or sanitized native tool names).

    Metadata provider to query through.

    StripSubAgentPrefix?: boolean

    When true, strips SUB_AGENT_TOOL_PREFIX (delegate_to_) case-insensitively before comparing sanitized tool names against active records.