wp_find_users
Find candidate accounts only for a user-requested author task, not bulk background discovery. Distinguish login from display name and consider remaining pages. If identity is ambiguous, ask which account; never choose the first result or guess IDs. Candidates are not proof of assignment eligibility. After assigning an author with wp_create_post or wp_update_post, read back with wp_read_post.
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": {
"site_id": "<site_id>",
"search": "<search>",
"match_by": "<match_by>"
},
"name": "wp_find_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| search | Yes | Trimmed nonempty literal substring, at most 100 Unicode characters. Must not start or end with * after whitespace trimming (including asterisk-only input). Interior *, %, _, and quotes are literal. Case sensitivity depends on database collation. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. | |
| match_by | Yes | Search only this column; never implicitly search email. | |
| per_page | No |