gws.contacts.directory_search
Search Google Workspace directory by name or email to get display names and email addresses of coworkers. Read-only, with clear explanation for accounts lacking a directory.
Instructions
Search the Google Workspace organization directory (coworkers/domain profiles) by name or email. Returns each match's display name and email addresses. Read-only. Only works for Google Workspace accounts — personal Gmail accounts have no directory and get a clear explanatory message instead of results.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "gws.contacts.directory_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text matched against directory member name and email | |
| account | No | Account label or email. Uses default if omitted. |