Skip to main content

Update Message Status

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.update_message_status

Update the delivery status of a message

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-update-message-status-example",
"method": "tools/call",
"params": {
"name": "ghl.update_message_status",
"arguments": {
"messageId": "messageId_123",
"status": "delivered",
"tenantId": "tenantId_123",
"error": {},
"emailMessageId": "emailMessageId_123",
"recipients": []
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"messageId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"delivered",
"failed",
"pending",
"read"
]
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"type": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"emailMessageId": {
"type": "string"
},
"recipients": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"messageId",
"status"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-update-message-status-example",
"method": "tools/call",
"params": {
"name": "ghl.update_message_status",
"arguments": {
"messageId": "messageId_123",
"status": "delivered",
"tenantId": "tenantId_123",
"error": {},
"emailMessageId": "emailMessageId_123",
"recipients": []
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.update_message_status executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}