Gmail

GMAIL_GET_PEOPLE

Retrieves either a specific person's details (using `resource name`) or lists 'other contacts' (if `other contacts` is true), with `person fields` specifying the data to return.

Remote gmail

Other tools also called GMAIL_GET_PEOPLE? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "page_size": {
      "type": "integer",
      "title": "Page Size",
      "default": 10,
      "maximum": 1000,
      "minimum": 1,
      "description": "The number of 'Other Contacts' to return per page. Applicable only when `other_contacts` is true."
    },
    "page_token": {
      "type": "string",
      "title": "Page Token",
      "default": "",
      "description": "An opaque token from a previous response to retrieve the next page of 'Other Contacts' results. Applicable only when `other_contacts` is true and paginating."
    },
    "sync_token": {
      "type": "string",
      "title": "Sync Token",
      "default": "",
      "description": "A token from a previous 'Other Contacts' list call to retrieve only changes since the last sync; leave empty for an initial full sync. Applicable only when `other_contacts` is true."
    },
    "person_fields": {
      "type": "string",
      "title": "Person Fields",
      "default": "emailAddresses,names,birthdays,genders",
      "examples": [
        "names,emailAddresses",
        "emailAddresses,names,birthdays,genders",
        "addresses,phoneNumbers,metadata"
      ],
      "description": "A comma-separated field mask to restrict which fields on the person (or persons) are returned. Consult the Google People API documentation for a comprehensive list of valid fields."
    },
    "resource_name": {
      "type": "string",
      "title": "Resource Name",
      "default": "people/me",
      "examples": [
        "people/me",
        "people/c12345678901234567890",
        "people/102345678901234567890"
      ],
      "description": "Resource name identifying the person for whom to retrieve information (like the authenticated user or a specific contact). Used only when `other_contacts` is false."
    },
    "other_contacts": {
      "type": "boolean",
      "title": "Other Contacts",
      "default": false,
      "description": "If true, retrieves 'Other Contacts' (people interacted with but not explicitly saved), ignoring `resource_name` and enabling pagination/sync. If false, retrieves information for the single person specified by `resource_name`."
    }
  }
}
          

Provider

Gmail →