mcp_update_user_meta
Set or update custom meta data for a WordPress user by key, merging new values into existing per-key data.
Instructions
Set meta data for a user (merged per key; keys are run through sanitize_key, so lowercase a-z0-9_-)
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": "<site>",
"id": "<id>",
"meta": "<meta>"
},
"name": "mcp_update_user_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | User ID | |
| meta | Yes | Meta key-value pairs to set | |
| site | Yes | Site id (see list_sites) |