MCPOutils MCP/Boîte de réception sociale/apply_inbox_actions
apply_inbox_actions
Writeinbox:write
Resolve/reopen, resolve a whole comment thread, mark read/unread or save/unsave inbox items. Provide exactly one of items (1–2000 kind/id pairs) or a structured filter. Every item must be accessible under user and credential client scope. Thread expansion also checks every owner and refuses more than 2000 items. markRead/markUnread skip DMs and report skipped. Changes inbox state only; never sends a message.
Paramètres
itemsobject[]facultatif
kind"comment" | "message" | "mention"facultatif
idstringfacultatif
filterobjectfacultatif
clientIdstringfacultatif
locationsstring[]facultatif
fromstringfacultatif
tostringfacultatif
tzintegerfacultatif
platformstring[]facultatif
status("open" | "resolved")[]facultatif
sentiment("positive" | "neutral" | "negative")[]facultatif
assignee"all" | "unassigned" | "me" | "team"facultatif
keywordstringfacultatif
sort"newest" | "oldest"facultatif
typesstring[]facultatif
sourcesstring[]facultatif
savedbooleanfacultatif
tagsstring[]facultatif
tagMatch"any" | "all"facultatif
untaggedbooleanfacultatif
languagestring[]facultatif
needsResponse"yes" | "no"facultatif
intent("question" | "complaint" | "praise" | "feedback" | "lead" | "other")[]facultatif
spam"exclude" | "only"facultatif
priority("1" | "2" | "3" | "4" | "none")[]facultatif
caseType("general" | "support" | "question" | "feedback" | "lead")[]facultatif
poststringfacultatif
pulse"closing" | "reply" | "fresh"facultatif
action"resolve" | "reopen" | "resolveThread" | "markRead" | "markUnread" | "save" | "unsave"obligatoire
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "apply_inbox_actions",
"arguments": {
"action": "resolve"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.