get_random_user
Generate a single random user with customizable fields, gender, nationality, and format options like JSON, CSV, SQL, or XML. Includes password generation and advanced filtering.
Instructions
Get a single random user
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| fields | No | Specify which fields to include | |
| format | No | ||
| gender | No | Filter results by gender | |
| nationality | No | Specify nationality | |
| password | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "fields": {
      "description": "Specify which fields to include",
      "properties": {
        "mode": {
          "default": "include",
          "enum": [
            "include",
            "exclude"
          ],
          "type": "string"
        },
        "values": {
          "items": {
            "enum": [
              "name",
              "phone",
              "email",
              "location",
              "picture",
              "dob",
              "login",
              "registered",
              "id",
              "cell",
              "nat"
            ],
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "format": {
      "properties": {
        "csv": {
          "properties": {
            "delimiter": {
              "enum": [
                ",",
                ";",
                "\t"
              ],
              "type": "string"
            },
            "includeHeader": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "sql": {
          "properties": {
            "dialect": {
              "enum": [
                "mysql",
                "postgresql",
                "sqlite"
              ],
              "type": "string"
            },
            "includeCreate": {
              "type": "boolean"
            },
            "tableName": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "structure": {
          "properties": {
            "arrayFormat": {
              "enum": [
                "brackets",
                "comma",
                "numbered"
              ],
              "type": "string"
            },
            "dateFormat": {
              "enum": [
                "iso",
                "unix",
                "formatted"
              ],
              "type": "string"
            },
            "flattenObjects": {
              "type": "boolean"
            },
            "nameFormat": {
              "enum": [
                "full",
                "first_last",
                "separate"
              ],
              "type": "string"
            },
            "nullValues": {
              "enum": [
                "empty",
                "null",
                "omit"
              ],
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "default": "json",
          "enum": [
            "json",
            "csv",
            "sql",
            "xml"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "gender": {
      "description": "Filter results by gender",
      "enum": [
        "male",
        "female"
      ],
      "type": "string"
    },
    "nationality": {
      "description": "Specify nationality",
      "enum": [
        "AU",
        "BR",
        "CA",
        "CH",
        "DE",
        "DK",
        "ES",
        "FI",
        "FR",
        "GB",
        "IE",
        "IN",
        "IR",
        "MX",
        "NL",
        "NO",
        "NZ",
        "RS",
        "TR",
        "UA",
        "US"
      ],
      "type": "string"
    },
    "password": {
      "properties": {
        "charsets": {
          "description": "Character sets to include in password",
          "items": {
            "enum": [
              "special",
              "upper",
              "lower",
              "number"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "maxLength": {
          "description": "Maximum password length (8-64)",
          "maximum": 64,
          "minimum": 8,
          "type": "number"
        },
        "minLength": {
          "description": "Minimum password length (8-64)",
          "maximum": 64,
          "minimum": 8,
          "type": "number"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}