• Packages model information into ActionMetadata object.

    Parameters

    • __namedParameters: {
          configSchema?: z.ZodTypeAny;
          info?: {
              configSchema?: Record<string, any>;
              label?: string;
              stage?: "stable" | "unstable" | "featured" | "legacy" | "deprecated";
              supports?: {
                  constrained?: "all" | "none" | "no-tools";
                  contentType?: string[];
                  context?: boolean;
                  media?: boolean;
                  multiturn?: boolean;
                  output?: string[];
                  systemRole?: boolean;
                  toolChoice?: boolean;
                  tools?: boolean;
              };
              versions?: string[];
          };
          name: string;
      }

    Returns ActionMetadata