delete_metafield
Delete a single metafield permanently by specifying owner ID, namespace, and key. Use list_metafields to verify before deletion.
Instructions
Permanently delete a single metafield by (ownerId, namespace, key). Irreversible — the value is gone after this call. Use list_metafields first to confirm the namespace and key, since typos result in a no-op rather than an error. Other metafields on the same resource are unaffected. To delete every metafield on a resource, you'd need a list+loop pattern; this tool only deletes one at a time.
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": {
"ownerId": "<ownerId>",
"namespace": "<namespace>",
"key": "<key>"
},
"name": "delete_metafield"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerId | Yes | GID of the owning resource. | |
| namespace | Yes | Metafield namespace. | |
| key | Yes | Metafield key. |