{"schemaVersion":"1.0.0","coverage":"complete","operations":[{"operationId":"createContact","summary":"Create a standalone workspace contact; restricted-agent members cannot create unscoped profiles","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/contacts","successStatus":201},"cli":{"supported":true,"command":"contacts create"},"mcp":{"supported":true,"tool":"communicate_create_contact"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"location":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"company":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"workspaceId":{"type":"string","minLength":1}},"required":["email","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","email","name","location","company","companySize","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"listContacts","summary":"Search and page accessible contact profiles without hidden-agent totals","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/contacts","successStatus":200},"cli":{"supported":true,"command":"contacts list"},"mcp":{"supported":true,"tool":"communicate_list_contacts"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"type":"integer","minimum":0,"maximum":1000000},"search":{"type":"string","maxLength":200},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"contacts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","email","name","location","company","companySize","createdAt","updatedAt"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"offset":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["contacts","total","limit","offset"],"additionalProperties":false}},{"operationId":"removeContact","summary":"Remove a directory profile while retaining historical conversations; this is not full personal-data erasure","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/contacts/{contactId}","successStatus":200},"cli":{"supported":true,"command":"contacts remove"},"mcp":{"supported":true,"tool":"communicate_remove_contact"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"contactId":{"type":"string","minLength":1}},"required":["workspaceId","contactId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true},"contactId":{"type":"string","minLength":1}},"required":["deleted","contactId"],"additionalProperties":false}},{"operationId":"readContactProfile","summary":"Read a contact profile and only the conversations visible to this member","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/contacts/{contactId}","successStatus":200},"cli":{"supported":true,"command":"contacts get"},"mcp":{"supported":true,"tool":"communicate_read_contact_profile"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"contactId":{"type":"string","minLength":1}},"required":["workspaceId","contactId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"contact":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","email","name","location","company","companySize","createdAt","updatedAt"],"additionalProperties":false},"conversations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["open","closed"]},"channel":{"type":"string","enum":["playground","widget","api","email","dashboard"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","subject","status","channel","createdAt"],"additionalProperties":false}}},"required":["contact","conversations"],"additionalProperties":false}},{"operationId":"updateContactProfile","summary":"Edit supplied contact fields; restricted members cannot edit profiles shared with inaccessible agents","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/contacts/{contactId}","successStatus":200},"cli":{"supported":true,"command":"contacts update"},"mcp":{"supported":true,"tool":"communicate_update_contact_profile"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"location":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"company":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"workspaceId":{"type":"string","minLength":1},"contactId":{"type":"string","minLength":1}},"required":["workspaceId","contactId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","email","name","location","company","companySize","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"listInboxLiveSupportRequests","summary":"List support requests still live on a conversation; each needs a disposition before the conversation can close","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/inbox/{conversationId}/support-requests/live","successStatus":200},"cli":{"supported":true,"command":"inbox support-requests live"},"mcp":{"supported":true,"tool":"communicate_list_inbox_live_support_requests"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"openedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"requestIntakeChannel":{"type":"string","enum":["widget","email","api","playground","dashboard","voice","unknown"]},"handlingState":{"type":"string","enum":["active","waiting_agent","waiting_member","waiting_customer","waiting_external"]}},"required":["id","lifecycleVersion","openedAt","requestIntakeChannel","handlingState"],"additionalProperties":false}}},"required":["requests"],"additionalProperties":false}},{"operationId":"requestInboxCopilotSuggestion","summary":"Draft, summarise, answer or translate a supplied draft without sending; translation requires text and targetLanguage and spends workspace credits","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/copilot","successStatus":200},"cli":{"supported":true,"command":"inbox copilot"},"mcp":{"supported":true,"tool":"communicate_request_inbox_copilot_suggestion"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["draft","summarise","answer","translate"]},"question":{"type":"string","minLength":1,"maxLength":2000},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"text":{"type":"string","minLength":1,"maxLength":4000},"targetLanguage":{"type":"string","enum":["English","Spanish","French","German","Portuguese","Italian","Dutch","Russian","Chinese","Japanese","Korean","Hindi","Arabic"]},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["mode","requestId","workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"],"additionalProperties":false}},{"operationId":"endorseInboxCopilotLearning","summary":"Record that a teammate used a learning-backed copilot suggestion","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/copilot/endorse","successStatus":200},"cli":{"supported":true,"command":"inbox copilot endorse"},"mcp":{"supported":true,"tool":"communicate_endorse_inbox_copilot_learning"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"learningId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId","learningId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}},{"operationId":"presignInboxAttachment","summary":"Stage a reply attachment and return a short-lived upload URL; the file is not usable until confirmed","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/attachments/presign","successStatus":200},"cli":{"supported":true,"command":"inbox attachments presign"},"mcp":{"supported":true,"tool":"communicate_presign_inbox_attachment"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255},"contentType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["filename","contentType","workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"attachmentId":{"type":"string","minLength":1},"putUrl":{"type":"string","format":"uri"},"key":{"type":"string","minLength":1},"headers":{"type":"object","properties":{"Content-Type":{"type":"string"}},"required":["Content-Type"],"additionalProperties":false}},"required":["attachmentId","putUrl","key","headers"],"additionalProperties":false}},{"operationId":"confirmInboxAttachment","summary":"Verify and scan an uploaded attachment so a reply can include it","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/attachments/confirm","successStatus":200},"cli":{"supported":true,"command":"inbox attachments confirm"},"mcp":{"supported":true,"tool":"communicate_confirm_inbox_attachment"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255},"contentType":{"type":"string","minLength":1},"attachmentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["filename","contentType","attachmentId","key","sizeBytes","workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"filename":{"type":"string"},"contentType":{"type":"string"},"detectedContentType":{"anyOf":[{"type":"string"},{"type":"null"}]},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string"},"attachmentState":{"type":"string"},"messageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["id","filename","contentType","detectedContentType","sizeBytes","kind","attachmentState","messageId"],"additionalProperties":false}},{"operationId":"readInboxAttachmentUrl","summary":"Return a short-lived download URL for an attachment on this conversation","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/inbox/{conversationId}/attachments/{attachmentId}/url","successStatus":200},"cli":{"supported":true,"command":"inbox attachments url"},"mcp":{"supported":true,"tool":"communicate_read_inbox_attachment_url"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"attachmentId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId","attachmentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"disposition":{"type":"string","enum":["inline","attachment"]},"filename":{"type":"string"},"contentType":{"type":"string"}},"required":["url","disposition","filename","contentType"],"additionalProperties":false}},{"operationId":"retryInboxReply","summary":"Re-queue a failed or uncertain reply; uncertain delivery requires confirmDuplicateRisk","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/messages/{messageId}/retry","successStatus":200},"cli":{"supported":true,"command":"inbox replies retry"},"mcp":{"supported":true,"tool":"communicate_retry_inbox_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"confirmDuplicateRisk":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"role":{"type":"string","const":"human"},"content":{"type":"string"},"replyToMessageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","enum":["widget","email"]},{"type":"null"}]},"lifecycleStatus":{"type":"string","enum":["queued","sending","sent","undone","failed","uncertain","bounced"]},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revisionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"dispatchAfterAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"undoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sentAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","conversationId","agentId","role","content","channel","lifecycleStatus","lifecycleVersion","revisionCount","authorMemberId","createdAt","dispatchAfterAt","undoDeadlineAt","sentAt"],"additionalProperties":false}},{"operationId":"mergeSupportRequests","summary":"Merge duplicate support requests at their expected versions","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/merge","successStatus":200},"cli":{"supported":true,"command":"support merge"},"mcp":{"supported":true,"tool":"communicate_merge_support_requests"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"sourceSupportRequests":{"minItems":2,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expectedVersion"],"additionalProperties":false}},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":1000},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1}},"required":["sourceSupportRequests","idempotencyKey","reason","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"splitSupportRequest","summary":"Split a support request into separate goals by message","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/{requestId}/split","successStatus":200},"cli":{"supported":true,"command":"support split"},"mcp":{"supported":true,"tool":"communicate_split_support_request"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"partitions":{"minItems":2,"maxItems":100,"type":"array","items":{"type":"object","properties":{"messageIds":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["messageIds"],"additionalProperties":false}},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":1000},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}},"required":["expectedVersion","partitions","idempotencyKey","reason","workspaceId","requestId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"transitionSupportRequest","summary":"Activate, wait, end or reopen a support request at its expected version","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/{requestId}/transitions","successStatus":200},"cli":{"supported":true,"command":"support transition"},"mcp":{"supported":true,"tool":"communicate_transition_support_request"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"transition":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"activate"}},"required":["kind"]},{"type":"object","properties":{"kind":{"type":"string","const":"wait"},"waitingOn":{"type":"string","enum":["agent","member","customer","external"]}},"required":["kind","waitingOn"]},{"type":"object","properties":{"kind":{"type":"string","const":"end"},"outcome":{"type":"string","enum":["ended_unverified","failed","withdrawn","excluded"]}},"required":["kind","outcome"]},{"type":"object","properties":{"kind":{"type":"string","const":"reopen"}},"required":["kind"]}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":1000},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}},"required":["expectedVersion","transition","idempotencyKey","reason","workspaceId","requestId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"appendSupportRequestEvidence","summary":"Attach a verified resolution receipt to a support request","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/{requestId}/evidence","successStatus":200},"cli":{"supported":true,"command":"support evidence add"},"mcp":{"supported":true,"tool":"communicate_append_support_request_evidence"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"boundaryVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expectedLifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"evidence":{"type":"object","properties":{"type":{"type":"string","enum":["external_attestation","action_postcondition"]},"receiptId":{"type":"string","minLength":1,"maxLength":200},"sourceVersion":{"type":"string","minLength":1,"maxLength":200},"sourceHash":{"type":"string","minLength":1,"maxLength":500}},"required":["type","receiptId","sourceVersion","sourceHash"]},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}},"required":["boundaryVersion","expectedLifecycleVersion","idempotencyKey","evidence","workspaceId","requestId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"bindSupportRequestSla","summary":"Bind the matching SLA policy to a support request","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/{requestId}/sla/bind","successStatus":200},"cli":{"supported":true,"command":"support sla bind"},"mcp":{"supported":true,"tool":"communicate_bind_support_request_sla"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"priority":{"type":"string","minLength":1,"maxLength":100},"teamId":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}},"required":["priority","workspaceId","requestId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"recordSupportRequestSlaMilestone","summary":"Record an SLA milestone for a support request reply","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/support-requests/{requestId}/sla/milestones","successStatus":200},"cli":{"supported":true,"command":"support sla milestone"},"mcp":{"supported":true,"tool":"communicate_record_support_request_sla_milestone"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"episodeNumber":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["first_response","next_response","handoff_pickup","approval_review","verified_resolution"]},"messageId":{"type":"string","minLength":1},"transportStatus":{"type":"string","enum":["accepted","failed","uncertain","cancelled"]},"responseKind":{"type":"string","enum":["substantive","clarification","policy_refusal","acknowledgement","routing","handoff","internal_note"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1}},"required":["episodeNumber","kind","messageId","transportStatus","responseKind","observedAt","workspaceId","requestId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readSupportRequestSlaClock","summary":"Read one SLA clock for a support request","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/support-requests/{requestId}/sla/clocks/{kind}","successStatus":200},"cli":{"supported":true,"command":"support sla clock"},"mcp":{"supported":true,"tool":"communicate_read_support_request_sla_clock"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1},"kind":{"type":"string","enum":["first_response","next_response","handoff_pickup","approval_review","verified_resolution"]},"asOf":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["workspaceId","requestId","kind"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listWorkspaceLabels","summary":"List the workspace labels conversations can carry","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/labels","successStatus":200},"cli":{"supported":true,"command":"labels list"},"mcp":{"supported":true,"tool":"communicate_list_workspace_labels"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","minLength":1,"maxLength":30,"pattern":"^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$"},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1}},"required":["name","color","id","workspaceId"],"additionalProperties":false}}},{"operationId":"createWorkspaceLabel","summary":"Create a workspace label with a hex color or color token name","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/labels","successStatus":201},"cli":{"supported":true,"command":"labels create"},"mcp":{"supported":true,"tool":"communicate_create_workspace_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","minLength":1,"maxLength":30,"pattern":"^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$"},"workspaceId":{"type":"string","minLength":1}},"required":["name","color","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","minLength":1,"maxLength":30,"pattern":"^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$"},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1}},"required":["name","color","id","workspaceId"],"additionalProperties":false}},{"operationId":"updateWorkspaceLabel","summary":"Rename or recolor a workspace label","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/labels/{labelId}","successStatus":200},"cli":{"supported":true,"command":"labels update"},"mcp":{"supported":true,"tool":"communicate_update_workspace_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","minLength":1,"maxLength":30,"pattern":"^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$"},"workspaceId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["workspaceId","labelId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","minLength":1,"maxLength":30,"pattern":"^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$"},"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1}},"required":["name","color","id","workspaceId"],"additionalProperties":false}},{"operationId":"deleteWorkspaceLabel","summary":"Delete a workspace label and remove it from every conversation","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/labels/{labelId}","successStatus":204},"cli":{"supported":true,"command":"labels delete"},"mcp":{"supported":true,"tool":"communicate_delete_workspace_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["workspaceId","labelId"],"additionalProperties":false},"outputSchema":{"type":"null"}},{"operationId":"attachInboxLabel","summary":"Attach a workspace label to a conversation; repeating it is a no-op","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/labels/{labelId}","successStatus":204},"cli":{"supported":true,"command":"inbox labels attach"},"mcp":{"supported":true,"tool":"communicate_attach_inbox_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId","labelId"],"additionalProperties":false},"outputSchema":{"type":"null"}},{"operationId":"detachInboxLabel","summary":"Detach a label from a conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/inbox/{conversationId}/labels/{labelId}","successStatus":204},"cli":{"supported":true,"command":"inbox labels detach"},"mcp":{"supported":true,"tool":"communicate_detach_inbox_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId","labelId"],"additionalProperties":false},"outputSchema":{"type":"null"}},{"operationId":"createInboxNote","summary":"Add an internal team note to a conversation; visitors never see it","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/notes","successStatus":201},"cli":{"supported":true,"command":"inbox notes add"},"mcp":{"supported":true,"tool":"communicate_create_inbox_note"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":4000},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["body","workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"authorId":{"type":"string","minLength":1},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorAgentGrantId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorKind":{"type":"string","enum":["source_member","linked_member","system"]},"audienceKind":{"type":"string","enum":["source_only","source_plus_author_destination"]},"audienceDestinationWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","conversationId","authorId","authorMemberId","authorWorkspaceId","authorAgentGrantId","authorKind","audienceKind","audienceDestinationWorkspaceId","body","createdAt"],"additionalProperties":false}},{"operationId":"markInboxConversationRead","summary":"Mark the caller's conversation read through the latest committed message or mention; other members are unchanged","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/read","successStatus":200},"cli":{"supported":true,"command":"inbox mark-read"},"mcp":{"supported":true,"tool":"communicate_mark_inbox_conversation_read"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}},{"operationId":"readInboxConversation","summary":"Read a complete accessible ticket thread without marking it seen","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/inbox/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"inbox get"},"mcp":{"supported":true,"tool":"communicate_read_inbox_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"serverNow":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"conversation":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"channel":{"type":"string","enum":["playground","widget","api","email","dashboard"]},"surface":{"type":"string","enum":["widget","hosted"]},"visitorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string"},{"type":"null"}]},"contactId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"status":{"type":"string","enum":["open","closed"]},"mode":{"type":"string","enum":["ai","human"]},"modeLocked":{"type":"boolean"},"modeSource":{"type":"string","enum":["legacy","manual","message_lifecycle"]},"modeVersion":{"type":"integer","minimum":0,"maximum":9007199254740991},"contactEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"visitorLastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"visitorSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"contactName":{"anyOf":[{"type":"string"},{"type":"null"}]},"preChatAnswers":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}},"agentSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"visitorUserAgent":{"anyOf":[{"type":"string"},{"type":"null"}]},"visitorTimezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"ticketNumber":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"visitorIp":{"anyOf":[{"type":"string"},{"type":"null"}]},"visitorCountry":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastMessageAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"messageCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"agentName":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","workspaceId","agentId","channel","surface","visitorId","subject","createdBy","contactId","status","mode","modeLocked","modeSource","modeVersion","contactEmail","visitorLastSeenAt","visitorSeenAt","contactName","preChatAnswers","agentSeenAt","visitorUserAgent","visitorTimezone","ticketNumber","visitorIp","visitorCountry","createdAt","lastMessageAt","messageCount","agentName"],"additionalProperties":false},"inbox":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"status":{"type":"string","enum":["open","snoozed","closed","spam"]},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"teamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"dueAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"assigneeMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"assigneeWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"assigneeAgentGrantId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"assigneeKind":{"anyOf":[{"type":"string","enum":["source_member","linked_member"]},{"type":"null"}]},"assigneeAssignedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"assigneeAssignedByMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"assigneeAssignedByWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"assigneeAssignedByAgentGrantId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"escalatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"escalationStatus":{"anyOf":[{"type":"string","enum":["pending","claimed"]},{"type":"null"}]}},"required":["conversationId","status","assigneeId","teamId","priority","dueAt","updatedAt"],"additionalProperties":false},"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"role":{"type":"string","enum":["user","assistant","human"]},"content":{"type":"string"},"replyToMessageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"citations":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1},"title":{"type":"string"},"snippet":{"type":"string"}},"required":["sourceId","title","snippet"],"additionalProperties":false}},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","enum":["widget","email"]},{"type":"null"}]},"emailOpenedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"emailRaw":{"anyOf":[{"type":"object","properties":{"text":{"type":"string"},"html":{"type":"string"},"quotedHistory":{"type":"object","properties":{"present":{"type":"boolean"}},"required":["present"],"additionalProperties":false}},"additionalProperties":false},{"type":"null"}]},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"lifecycleStatus":{"type":"string","enum":["queued","sending","sent","undone","failed","uncertain","bounced"]},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revisionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"undoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sentAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"editDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"editedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"latestFailureCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"uploadedByMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"uploadedByVisitorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"uploadedByWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"uploadedByAgentGrantId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"uploadedByKind":{"type":"string","enum":["visitor","source_member","linked_member","system"]},"filename":{"type":"string"},"contentType":{"type":"string"},"detectedContentType":{"anyOf":[{"type":"string"},{"type":"null"}]},"sizeBytes":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","enum":["image","file"]},"inline":{"type":"boolean"},"contentId":{"anyOf":[{"type":"string"},{"type":"null"}]},"attachmentState":{"type":"string","enum":["staged","uploaded","processing","clean","linked","blocked","failed"]},"blockedReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"uploadConfirmedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"scanCompletedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"quarantinedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"linkedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","conversationId","messageId","uploadedByMemberId","uploadedByVisitorId","uploadedByWorkspaceId","uploadedByAgentGrantId","uploadedByKind","filename","contentType","detectedContentType","sizeBytes","kind","inline","contentId","attachmentState","blockedReason","uploadConfirmedAt","scanCompletedAt","quarantinedAt","linkedAt","createdAt"],"additionalProperties":false}}},"required":["id","role","content","citations","channel","emailOpenedAt","emailRaw","authorMemberId","lifecycleStatus","lifecycleVersion","revisionCount","undoDeadlineAt","sentAt","editDeadlineAt","editedAt","latestFailureCode","createdAt","attachments"],"additionalProperties":false}},"notes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"authorId":{"type":"string","minLength":1},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorAgentGrantId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"authorKind":{"type":"string","enum":["source_member","linked_member","system"]},"audienceKind":{"type":"string","enum":["source_only","source_plus_author_destination"]},"audienceDestinationWorkspaceId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","conversationId","authorId","authorMemberId","authorWorkspaceId","authorAgentGrantId","authorKind","audienceKind","audienceDestinationWorkspaceId","body","createdAt"],"additionalProperties":false}},"contact":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"location":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"companySize":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","email","name","location","company","companySize","createdAt","updatedAt"],"additionalProperties":false},{"type":"null"}]},"voiceSessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"status":{"type":"string","enum":["starting","active","finalizing","completed","failed","abandoned"]},"recordingStatus":{"type":"string","enum":["pending","available","failed","deleted"]},"durationSeconds":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}]},"playbackUrl":{"type":"string"},"transcript":{"type":"array","items":{"type":"object","properties":{"messageId":{"type":"string","minLength":1},"role":{"type":"string","enum":["user","assistant"]},"text":{"type":"string"},"startMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"endMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["messageId","role","text"],"additionalProperties":false}}},"required":["id","status","recordingStatus","durationSeconds","summary","transcript"],"additionalProperties":false}},"recentConversations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["open","closed"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastMessageAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","subject","status","createdAt","lastMessageAt"],"additionalProperties":false}},"labels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"color":{"type":"string"}},"required":["id","name","color"],"additionalProperties":false}},"csatRating":{"anyOf":[{"type":"integer","minimum":1,"maximum":5},{"type":"null"}]}},"required":["serverNow","conversation","inbox","messages","notes","contact","voiceSessions","recentConversations","labels","csatRating"],"additionalProperties":false}},{"operationId":"updateInboxConversation","summary":"Update ticket status, routing and handling; active support requests require explicit dispositions before closure","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/inbox/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"inbox update"},"mcp":{"supported":true,"tool":"communicate_update_inbox_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["open","snoozed","closed","spam"]},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"dueAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"mode":{"type":"string","enum":["ai","human"]},"teamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"contactEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"notify":{"type":"boolean"},"force":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"dispositions":{"type":"array","items":{"type":"object","properties":{"supportRequestId":{"type":"string","minLength":1},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"outcome":{"type":"string","enum":["ended_unverified","failed","withdrawn","excluded"]},"reason":{"type":"string","minLength":1,"maxLength":1000}},"required":["supportRequestId","expectedVersion","outcome","reason"],"additionalProperties":false}},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"status":{"type":"string","enum":["open","snoozed","closed","spam"]},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"teamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"dueAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"mode":{"type":"string","enum":["ai","human"]}},"required":["conversationId","workspaceId","status","assigneeId","teamId","priority","dueAt","updatedAt"],"additionalProperties":false}},{"operationId":"editInboxReply","summary":"Edit an owned reply using its current lifecycle version","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/inbox/{conversationId}/messages/{messageId}","successStatus":200},"cli":{"supported":true,"command":"inbox replies edit"},"mcp":{"supported":true,"tool":"communicate_edit_inbox_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"content":{"type":"string","maxLength":4000},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["content","expectedVersion","workspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"role":{"type":"string","const":"human"},"content":{"type":"string"},"replyToMessageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","enum":["widget","email"]},{"type":"null"}]},"lifecycleStatus":{"type":"string","enum":["queued","sending","sent","undone","failed","uncertain","bounced"]},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revisionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"dispatchAfterAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"undoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sentAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","conversationId","agentId","role","content","channel","lifecycleStatus","lifecycleVersion","revisionCount","authorMemberId","createdAt","dispatchAfterAt","undoDeadlineAt","sentAt"],"additionalProperties":false}},{"operationId":"undoInboxReply","summary":"Undo an owned queued reply before its undo deadline","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/messages/{messageId}/undo","successStatus":200},"cli":{"supported":true,"command":"inbox replies undo"},"mcp":{"supported":true,"tool":"communicate_undo_inbox_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"role":{"type":"string","const":"human"},"content":{"type":"string"},"replyToMessageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","enum":["widget","email"]},{"type":"null"}]},"lifecycleStatus":{"type":"string","enum":["queued","sending","sent","undone","failed","uncertain","bounced"]},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revisionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"dispatchAfterAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"undoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sentAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","conversationId","agentId","role","content","channel","lifecycleStatus","lifecycleVersion","revisionCount","authorMemberId","createdAt","dispatchAfterAt","undoDeadlineAt","sentAt"],"additionalProperties":false}},{"operationId":"sendInboxReply","summary":"Queue a human reply using a stable message ID; acceptance does not prove delivery","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/inbox/{conversationId}/messages","successStatus":201},"cli":{"supported":true,"command":"inbox reply"},"mcp":{"supported":true,"tool":"communicate_send_inbox_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"content":{"type":"string","maxLength":4000},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"attachmentIds":{"maxItems":5,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"replyToMessageId":{"type":"string","minLength":1,"maxLength":200},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["content","messageId","workspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"role":{"type":"string","const":"human"},"content":{"type":"string"},"replyToMessageId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"channel":{"anyOf":[{"type":"string","enum":["widget","email"]},{"type":"null"}]},"lifecycleStatus":{"type":"string","enum":["queued","sending","sent","undone","failed","uncertain","bounced"]},"lifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"revisionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorMemberId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"dispatchAfterAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"undoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"sentAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","conversationId","agentId","role","content","channel","lifecycleStatus","lifecycleVersion","revisionCount","authorMemberId","createdAt","dispatchAfterAt","undoDeadlineAt","sentAt"],"additionalProperties":false}},{"operationId":"listInboxConversations","summary":"List accessible inbox conversations with existing folder and status filters","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/inbox","successStatus":200},"cli":{"supported":true,"command":"inbox list"},"mcp":{"supported":true,"tool":"communicate_list_inbox_conversations"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"status":{"type":"string","enum":["open","snoozed","closed","spam"]},"folder":{"type":"string","enum":["mentions","spam","team","created-by-you","unseen"]},"teamId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1},"unseen":{"type":"string","const":"1"}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"agentName":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"type":"string","enum":["playground","widget","api","email","dashboard"]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"ticketNumber":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"mode":{"type":"string","enum":["ai","human"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastMessageAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"contactId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"messageCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"preview":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastMessageRole":{"anyOf":[{"type":"string"},{"type":"null"}]},"inboxStatus":{"type":"string","enum":["open","snoozed","closed","spam"]},"assigneeId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"teamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"priority":{"type":"string"},"dueAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"unseenCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"awaitingTeammate":{"type":"boolean"},"labels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"color":{"type":"string"}},"required":["id","name","color"],"additionalProperties":false}}},"required":["id","agentId","agentName","channel","subject","ticketNumber","mode","createdAt","lastMessageAt","contactId","createdBy","messageCount","preview","lastMessageRole","inboxStatus","assigneeId","teamId","priority","dueAt","unseenCount","awaitingTeammate","labels"],"additionalProperties":false}}},{"operationId":"readInboxCounts","summary":"Read accessible inbox folder counts and pending delivery summaries","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/inbox/counts","successStatus":200},"cli":{"supported":true,"command":"inbox counts"},"mcp":{"supported":true,"tool":"communicate_read_inbox_counts"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"open":{"type":"integer","minimum":0,"maximum":9007199254740991},"unassigned":{"type":"integer","minimum":0,"maximum":9007199254740991},"mine":{"type":"integer","minimum":0,"maximum":9007199254740991},"snoozed":{"type":"integer","minimum":0,"maximum":9007199254740991},"closed":{"type":"integer","minimum":0,"maximum":9007199254740991},"unread":{"type":"integer","minimum":0,"maximum":9007199254740991},"spam":{"type":"integer","minimum":0,"maximum":9007199254740991},"unseen":{"type":"integer","minimum":0,"maximum":9007199254740991},"mentions":{"type":"integer","minimum":0,"maximum":9007199254740991},"byTeam":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"byAgent":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"outbox":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"entries":{"type":"array","items":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"channel":{"type":"string","enum":["playground","widget","api","email","dashboard"]},"pendingCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lifecycleStatus":{"type":"string","enum":["queued","sending"]},"nextUndoDeadlineAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["conversationId","subject","channel","pendingCount","lifecycleStatus","nextUndoDeadlineAt"],"additionalProperties":false}}},"required":["total","entries"],"additionalProperties":false}},"required":["open","unassigned","mine","snoozed","closed","unread","spam","unseen","mentions","byTeam","byAgent"],"additionalProperties":false}},{"operationId":"listLinkedConversations","summary":"List conversations on agents shared with this workspace","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-conversations","successStatus":200},"cli":{"supported":true,"command":"linked-inbox list"},"mcp":{"supported":true,"tool":"communicate_list_linked_conversations"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"countLinkedConversations","summary":"Count linked conversations by status","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/counts","successStatus":200},"cli":{"supported":true,"command":"linked-inbox count"},"mcp":{"supported":true,"tool":"communicate_count_linked_conversations"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readLinkedConversation","summary":"Read one linked conversation with its messages","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"linked-inbox read"},"mcp":{"supported":true,"tool":"communicate_read_linked_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"markLinkedConversationRead","summary":"Mark a linked conversation read for the caller","scopes":["inbox:read"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/read","successStatus":200},"cli":{"supported":true,"command":"linked-inbox mark-read"},"mcp":{"supported":true,"tool":"communicate_mark_linked_conversation_read"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"requestLinkedCopilotSuggestion","summary":"Draft, summarise or answer from a linked thread without sending anything; spends workspace credits","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/copilot","successStatus":200},"cli":{"supported":true,"command":"linked-inbox copilot"},"mcp":{"supported":true,"tool":"communicate_request_linked_copilot_suggestion"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["draft","summarise","answer"]},"question":{"type":"string","minLength":1,"maxLength":2000},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["mode","requestId","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"endorseLinkedCopilotLearning","summary":"Record that a teammate used a learning-backed copilot suggestion in a linked thread","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/copilot/endorse","successStatus":200},"cli":{"supported":true,"command":"linked-inbox copilot endorse"},"mcp":{"supported":true,"tool":"communicate_endorse_linked_copilot_learning"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"learningId":{"type":"string","minLength":1},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["learningId","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"presignLinkedAttachment","summary":"Stage a linked reply attachment and return a short-lived upload URL; unusable until confirmed","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/attachments/presign","successStatus":200},"cli":{"supported":true,"command":"linked-inbox attachments presign"},"mcp":{"supported":true,"tool":"communicate_presign_linked_attachment"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255},"contentType":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["filename","contentType","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"confirmLinkedAttachment","summary":"Verify and scan an uploaded linked reply attachment","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/attachments/confirm","successStatus":200},"cli":{"supported":true,"command":"linked-inbox attachments confirm"},"mcp":{"supported":true,"tool":"communicate_confirm_linked_attachment"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":255},"contentType":{"type":"string","minLength":1},"attachmentId":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["filename","contentType","attachmentId","key","sizeBytes","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readLinkedAttachmentUrl","summary":"Return a short-lived download URL for an attachment on a linked conversation","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/attachments/{attachmentId}/url","successStatus":200},"cli":{"supported":true,"command":"linked-inbox attachments url"},"mcp":{"supported":true,"tool":"communicate_read_linked_attachment_url"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"attachmentId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId","attachmentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"sendLinkedConversationReply","summary":"Send a teammate reply in a linked conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/messages","successStatus":201},"cli":{"supported":true,"command":"linked-inbox send-reply"},"mcp":{"supported":true,"tool":"communicate_send_linked_conversation_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"content":{"type":"string","maxLength":4000},"messageId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"attachmentIds":{"maxItems":5,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["content","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"undoLinkedConversationReply","summary":"Undo a queued linked reply before it sends","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/messages/{messageId}/undo","successStatus":200},"cli":{"supported":true,"command":"linked-inbox undo-reply"},"mcp":{"supported":true,"tool":"communicate_undo_linked_conversation_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"editLinkedConversationReply","summary":"Edit a queued linked reply","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/messages/{messageId}","successStatus":200},"cli":{"supported":true,"command":"linked-inbox edit-reply"},"mcp":{"supported":true,"tool":"communicate_edit_linked_conversation_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"content":{"type":"string","maxLength":4000},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","minLength":1}},"required":["content","expectedVersion","destinationWorkspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"retryLinkedConversationReply","summary":"Retry a failed linked reply","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/messages/{messageId}/retry","successStatus":200},"cli":{"supported":true,"command":"linked-inbox retry-reply"},"mcp":{"supported":true,"tool":"communicate_retry_linked_conversation_reply"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"confirmDuplicateRisk":{"type":"boolean"},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"messageId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId","messageId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"addLinkedConversationNote","summary":"Add an internal note to a linked conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/notes","successStatus":201},"cli":{"supported":true,"command":"linked-inbox add-note"},"mcp":{"supported":true,"tool":"communicate_add_linked_conversation_note"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":10000},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["body","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"addLinkedConversationLabel","summary":"Add a source label to a linked conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/labels/{labelId}","successStatus":200},"cli":{"supported":true,"command":"linked-inbox add-label"},"mcp":{"supported":true,"tool":"communicate_add_linked_conversation_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId","labelId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"removeLinkedConversationLabel","summary":"Remove a source label from a linked conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/labels/{labelId}","successStatus":200},"cli":{"supported":true,"command":"linked-inbox remove-label"},"mcp":{"supported":true,"tool":"communicate_remove_linked_conversation_label"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"labelId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId","labelId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"assignLinkedConversation","summary":"Assign a linked conversation to the caller or a teammate","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/assign","successStatus":200},"cli":{"supported":true,"command":"linked-inbox assign"},"mcp":{"supported":true,"tool":"communicate_assign_linked_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"memberId":{"type":"string","minLength":1},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"takeOverLinkedConversation","summary":"Take a linked conversation over from the AI","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/takeover","successStatus":200},"cli":{"supported":true,"command":"linked-inbox take-over"},"mcp":{"supported":true,"tool":"communicate_take_over_linked_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setLinkedConversationStatus","summary":"Open, close, snooze or mark a linked conversation spam","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"linked-inbox set-status"},"mcp":{"supported":true,"tool":"communicate_set_linked_conversation_status"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["open","snoozed","closed","spam"]},"force":{"type":"boolean"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"dispositions":{"type":"array","items":{"type":"object","properties":{"supportRequestId":{"type":"string","minLength":1},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"outcome":{"type":"string","enum":["ended_unverified","failed","withdrawn","excluded"]},"reason":{"type":"string","minLength":1,"maxLength":1000}},"required":["supportRequestId","expectedVersion","outcome","reason"]}},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["status","destinationWorkspaceId","conversationId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"runLinkedConversationAction","summary":"Run an allowed action in a linked conversation","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-conversations/{conversationId}/actions/{actionId}/run","successStatus":200},"cli":{"supported":true,"command":"linked-inbox run-action"},"mcp":{"supported":true,"tool":"communicate_run_linked_conversation_action"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"args":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"destinationWorkspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1},"actionId":{"type":"string","minLength":1}},"required":["args","destinationWorkspaceId","conversationId","actionId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listConversations","summary":"List conversations, optionally for one agent","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/conversations","successStatus":200},"cli":{"supported":true,"command":"conversations list"},"mcp":{"supported":true,"tool":"communicate_list_conversations"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{}},{"operationId":"readConversation","summary":"Read one conversation with its messages","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/conversations/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"conversations show"},"mcp":{"supported":true,"tool":"communicate_read_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["workspaceId","conversationId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setConversationStatus","summary":"Open or close a conversation; active support requests need dispositions or force","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/conversations/{conversationId}","successStatus":200},"cli":{"supported":true,"command":"conversations status"},"mcp":{"supported":true,"tool":"communicate_set_conversation_status"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["open","closed"]},"force":{"type":"boolean"},"idempotencyKey":{"type":"string"},"dispositions":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"workspaceId":{"type":"string","minLength":1},"conversationId":{"type":"string","minLength":1}},"required":["status","workspaceId","conversationId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"startConversation","summary":"Start a conversation with a contact and send the first message","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/conversations","successStatus":201},"cli":{"supported":true,"command":"conversations start"},"mcp":{"supported":true,"tool":"communicate_start_conversation"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"message":{"type":"string","minLength":1,"maxLength":4000},"subject":{"type":"string","maxLength":200},"contactId":{"type":"string","minLength":1},"contactEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"workspaceId":{"type":"string","minLength":1}},"required":["agentId","message","workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"presignInAppImage","summary":"Prepare an agent-owned in-app image upload","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/images/presign","successStatus":200},"cli":{"supported":true,"command":"in-app-images presign"},"mcp":{"supported":true,"tool":"communicate_presign_in_app_image"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"nudgeId":{"type":"string","minLength":1,"maxLength":128},"filename":{"type":"string","minLength":1,"maxLength":255},"contentType":{"type":"string","minLength":1,"maxLength":255},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["filename","contentType","sizeBytes","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1},"putUrl":{"type":"string","format":"uri"},"headers":{"type":"object","properties":{"Content-Type":{"type":"string"}},"required":["Content-Type"],"additionalProperties":false}},"required":["key","putUrl","headers"],"additionalProperties":false}},{"operationId":"confirmInAppImage","summary":"Validate an uploaded agent-owned image and obtain its managed URL","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/images/confirm","successStatus":200},"cli":{"supported":true,"command":"in-app-images confirm"},"mcp":{"supported":true,"tool":"communicate_confirm_in_app_image"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":1024},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["key","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"key":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"contentType":{"type":"string"},"sizeBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["key","url","contentType","sizeBytes"],"additionalProperties":false}},{"operationId":"createInAppCampaign","summary":"Create an in-app campaign with native authoring validation","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app","successStatus":201},"cli":{"supported":true,"command":"in-app-campaigns create"},"mcp":{"supported":true,"tool":"communicate_create_in_app_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"status":{"type":"string","enum":["draft","live","paused","archived"]},"priority":{"type":"integer","minimum":0,"maximum":1000},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":0,"maximum":86400},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["name","surface","workspaceId","agentId"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","live","paused","archived"]},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","surface","priority","content","targeting","frequency","delaySeconds","scheduledAt","expiresAt","publishedAt","createdAt","updatedAt"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}}},{"operationId":"updateInAppCampaign","summary":"Edit in-app campaign authoring fields in place","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/{nudgeId}","successStatus":200},"cli":{"supported":true,"command":"in-app-campaigns update"},"mcp":{"supported":true,"tool":"communicate_update_in_app_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"status":{"type":"string","enum":["draft","live","paused","archived"]},"priority":{"type":"integer","minimum":0,"maximum":1000},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":0,"maximum":86400},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"nudgeId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","nudgeId"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","live","paused","archived"]},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","surface","priority","content","targeting","frequency","delaySeconds","scheduledAt","expiresAt","publishedAt","createdAt","updatedAt"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}}},{"operationId":"listInAppCampaigns","summary":"List in-app campaigns for an agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app","successStatus":200},"cli":{"supported":true,"command":"in-app-campaigns list"},"mcp":{"supported":true,"tool":"communicate_list_in_app_campaigns"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"nudges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","live","paused","archived"]},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","surface","priority","content","targeting","frequency","delaySeconds","scheduledAt","expiresAt","publishedAt","createdAt","updatedAt"],"additionalProperties":false}}},"required":["nudges"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}}},{"operationId":"readInAppCampaignAnalytics","summary":"Read views, clicks and dismissals for one in-app campaign","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/{nudgeId}/analytics","successStatus":200},"cli":{"supported":true,"command":"in-app-campaigns analytics"},"mcp":{"supported":true,"tool":"communicate_read_in_app_campaign_analytics"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"nudgeId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","nudgeId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"getInAppCampaign","summary":"Read an in-app campaign and its stored authoring fields","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/{nudgeId}","successStatus":200},"cli":{"supported":true,"command":"in-app-campaigns get"},"mcp":{"supported":true,"tool":"communicate_get_in_app_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"nudgeId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","nudgeId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","live","paused","archived"]},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","surface","priority","content","targeting","frequency","delaySeconds","scheduledAt","expiresAt","publishedAt","createdAt","updatedAt"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}}},{"operationId":"duplicateInAppCampaign","summary":"Copy an in-app campaign into a new draft","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/{nudgeId}/duplicate","successStatus":201},"cli":{"supported":true,"command":"in-app-campaigns duplicate"},"mcp":{"supported":true,"tool":"communicate_duplicate_in_app_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"nudgeId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","nudgeId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","live","paused","archived"]},"surface":{"type":"string","enum":["floating_card","in_panel","toast"]},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"content":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}},"frequency":{"type":"string","enum":["once","every_session","always"]},"delaySeconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","surface","priority","content","targeting","frequency","delaySeconds","scheduledAt","expiresAt","publishedAt","createdAt","updatedAt"],"additionalProperties":false,"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]},"__schema1":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema1"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema1"}}]}}}},{"operationId":"deleteInAppCampaign","summary":"Delete an untouched draft or archive a campaign with history","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/in-app/{nudgeId}","successStatus":200},"cli":{"supported":true,"command":"in-app-campaigns delete"},"mcp":{"supported":true,"tool":"communicate_delete_in_app_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"nudgeId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","nudgeId"],"additionalProperties":false},"outputSchema":{"anyOf":[{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false},{"type":"object","properties":{"archived":{"type":"boolean","const":true}},"required":["archived"],"additionalProperties":false}]}},{"operationId":"listOutboundCampaigns","summary":"List outbound campaigns for an agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/outbound-campaigns","successStatus":200},"cli":{"supported":true,"command":"outbound-campaigns list"},"mcp":{"supported":true,"tool":"communicate_list_outbound_campaigns"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"campaigns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","scheduled","paused","sent"]},"channel":{"type":"string","enum":["whatsapp","email"]},"audience":{"type":"string","enum":["all_contacts","manual"]},"templateName":{"type":"string"},"templateBody":{"type":"string"},"recipientCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deliveredCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"readCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","channel","audience","templateName","templateBody","recipientCount","deliveredCount","readCount","replyCount","scheduledAt","createdAt","updatedAt"],"additionalProperties":false}}},"required":["campaigns"],"additionalProperties":false}},{"operationId":"createOutboundCampaign","summary":"Create an outbound campaign draft","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/outbound-campaigns","successStatus":201},"cli":{"supported":true,"command":"outbound-campaigns create"},"mcp":{"supported":true,"tool":"communicate_create_outbound_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"channel":{"default":"whatsapp","type":"string","enum":["whatsapp","email"]},"audience":{"default":"all_contacts","type":"string","enum":["all_contacts","manual"]},"templateName":{"type":"string","minLength":1,"maxLength":120},"templateBody":{"type":"string","minLength":1,"maxLength":1000},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["name","templateName","templateBody","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","scheduled","paused","sent"]},"channel":{"type":"string","enum":["whatsapp","email"]},"audience":{"type":"string","enum":["all_contacts","manual"]},"templateName":{"type":"string"},"templateBody":{"type":"string"},"recipientCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deliveredCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"readCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","channel","audience","templateName","templateBody","recipientCount","deliveredCount","readCount","replyCount","scheduledAt","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"pauseOutboundCampaign","summary":"Pause a scheduled outbound campaign","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/outbound-campaigns/{campaignId}/pause","successStatus":200},"cli":{"supported":true,"command":"outbound-campaigns pause"},"mcp":{"supported":true,"tool":"communicate_pause_outbound_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"campaignId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","campaignId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"status":{"type":"string","enum":["draft","scheduled","paused","sent"]},"channel":{"type":"string","enum":["whatsapp","email"]},"audience":{"type":"string","enum":["all_contacts","manual"]},"templateName":{"type":"string"},"templateBody":{"type":"string"},"recipientCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deliveredCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"readCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"replyCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"scheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","status","channel","audience","templateName","templateBody","recipientCount","deliveredCount","readCount","replyCount","scheduledAt","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"deleteOutboundCampaign","summary":"Delete an outbound campaign after pausing if scheduled","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/outbound-campaigns/{campaignId}","successStatus":200},"cli":{"supported":true,"command":"outbound-campaigns delete"},"mcp":{"supported":true,"tool":"communicate_delete_outbound_campaign"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"campaignId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","campaignId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"startCalendlyAuthorization","summary":"Start agent-bound Calendly consent with PKCE; completion requires provider consent","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations/calendly/oauth/start","successStatus":200},"cli":{"supported":true,"command":"integrations calendly authorize"},"mcp":{"supported":true,"tool":"communicate_start_calendly_authorization"},"inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"authorizationUrl":{"type":"string","format":"uri"}},"required":["authorizationUrl"],"additionalProperties":false}},{"operationId":"completeCalendlyAuthorization","summary":"Exchange agent-bound Calendly consent and persist an encrypted scheduling connection","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations/calendly/oauth/complete","successStatus":201},"cli":{"supported":true,"command":"integrations calendly complete"},"mcp":{"supported":true,"tool":"communicate_complete_calendly_authorization"},"inputSchema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":2000},"state":{"type":"string","minLength":1,"maxLength":8000},"enabled":{"type":"boolean"},"capabilityKeys":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["code","state","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"message":{"type":"string"},"integration":{"type":"object","properties":{"id":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"providerKey":{"type":"string","enum":["cal","calendly"]},"providerLabel":{"type":"string"},"authType":{"type":"string","enum":["oauth2","api_key","personal_access_token"]},"enabled":{"type":"boolean"},"capabilityKeys":{"type":"array","items":{"type":"string"}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connectionStatus":{"type":"string","enum":["pending","active","error","revoked"]},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastErrorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","connectionId","providerKey","providerLabel","authType","enabled","capabilityKeys","config","connectionStatus","displayName","externalAccountId","lastErrorCode","connectedAt","createdAt","updatedAt"],"additionalProperties":false}},"required":["message","integration"],"additionalProperties":false}},{"operationId":"createIntegration","summary":"Validate provider credentials and connect a scheduling integration","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations","successStatus":201},"cli":{"supported":true,"command":"integrations create"},"mcp":{"supported":true,"tool":"communicate_create_integration"},"inputSchema":{"type":"object","properties":{"providerKey":{"type":"string","enum":["cal","calendly"]},"enabled":{"type":"boolean"},"capabilityKeys":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"credentials":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["providerKey","credentials","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"message":{"type":"string"},"integration":{"type":"object","properties":{"id":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"providerKey":{"type":"string","enum":["cal","calendly"]},"providerLabel":{"type":"string"},"authType":{"type":"string","enum":["oauth2","api_key","personal_access_token"]},"enabled":{"type":"boolean"},"capabilityKeys":{"type":"array","items":{"type":"string"}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connectionStatus":{"type":"string","enum":["pending","active","error","revoked"]},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastErrorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","connectionId","providerKey","providerLabel","authType","enabled","capabilityKeys","config","connectionStatus","displayName","externalAccountId","lastErrorCode","connectedAt","createdAt","updatedAt"],"additionalProperties":false}},"required":["message","integration"],"additionalProperties":false}},{"operationId":"listIntegrations","summary":"List provider capabilities and permitted Agent connections without credentials","credentialKind":"account-key-or-session","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations","successStatus":200},"cli":{"supported":true,"command":"integrations list"},"mcp":{"supported":true,"tool":"communicate_list_integrations"},"inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"canEdit":{"type":"boolean"},"catalog":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","enum":["cal","calendly","shopify"]},"label":{"type":"string"},"releaseState":{"type":"string","enum":["stable","beta"]},"setupHref":{"type":"string","const":"/dashboard/settings/shopify"},"auth":{"type":"object","properties":{"type":{"type":"string","enum":["api_key","personal_access_token","managed_installation"]},"label":{"type":"string"},"oauth":{"type":"boolean"}},"required":["type","label","oauth"],"additionalProperties":false},"capabilities":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"toolName":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"confirmation":{"type":"object","properties":{"required":{"type":"boolean"},"message":{"type":"string"}},"required":["required"],"additionalProperties":false}},"required":["key","toolName","description","inputSchema"],"additionalProperties":false}}},"required":["key","label","auth","capabilities"],"additionalProperties":false}},"integrations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"providerKey":{"type":"string","enum":["cal","calendly"]},"providerLabel":{"type":"string"},"authType":{"type":"string","enum":["oauth2","api_key","personal_access_token"]},"enabled":{"type":"boolean"},"capabilityKeys":{"type":"array","items":{"type":"string"}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connectionStatus":{"type":"string","enum":["pending","active","error","revoked"]},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastErrorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","connectionId","providerKey","providerLabel","authType","enabled","capabilityKeys","config","connectionStatus","displayName","externalAccountId","lastErrorCode","connectedAt","createdAt","updatedAt"],"additionalProperties":false}},"shopifyBindings":{"type":"array","items":{"type":"object","properties":{"installationId":{"type":"string","minLength":1},"shop":{"type":"string"},"connectionStatus":{"type":"string","enum":["active","error"]}},"required":["installationId","shop","connectionStatus"],"additionalProperties":false}}},"required":["canEdit","catalog","integrations"],"additionalProperties":false}},{"operationId":"updateIntegration","summary":"Update integration enablement, capabilities and merged configuration","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}","successStatus":200},"cli":{"supported":true,"command":"integrations update"},"mcp":{"supported":true,"tool":"communicate_update_integration"},"inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"capabilityKeys":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"integrationId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","integrationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"message":{"type":"string"},"integration":{"type":"object","properties":{"id":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"providerKey":{"type":"string","enum":["cal","calendly"]},"providerLabel":{"type":"string"},"authType":{"type":"string","enum":["oauth2","api_key","personal_access_token"]},"enabled":{"type":"boolean"},"capabilityKeys":{"type":"array","items":{"type":"string"}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connectionStatus":{"type":"string","enum":["pending","active","error","revoked"]},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastErrorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","connectionId","providerKey","providerLabel","authType","enabled","capabilityKeys","config","connectionStatus","displayName","externalAccountId","lastErrorCode","connectedAt","createdAt","updatedAt"],"additionalProperties":false}},"required":["message","integration"],"additionalProperties":false}},{"operationId":"testIntegration","summary":"Revalidate stored provider credentials and update connection verification status","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}/test","successStatus":200},"cli":{"supported":true,"command":"integrations test"},"mcp":{"supported":true,"tool":"communicate_test_integration"},"inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"integrationId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","integrationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"message":{"type":"string"},"integration":{"type":"object","properties":{"id":{"type":"string","minLength":1},"connectionId":{"type":"string","minLength":1},"providerKey":{"type":"string","enum":["cal","calendly"]},"providerLabel":{"type":"string"},"authType":{"type":"string","enum":["oauth2","api_key","personal_access_token"]},"enabled":{"type":"boolean"},"capabilityKeys":{"type":"array","items":{"type":"string"}},"config":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"connectionStatus":{"type":"string","enum":["pending","active","error","revoked"]},"displayName":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalAccountId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastErrorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"connectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","connectionId","providerKey","providerLabel","authType","enabled","capabilityKeys","config","connectionStatus","displayName","externalAccountId","lastErrorCode","connectedAt","createdAt","updatedAt"],"additionalProperties":false}},"required":["message","integration"],"additionalProperties":false}},{"operationId":"deleteIntegration","summary":"Disconnect an agent integration and remove its unused credential connection","credentialKind":"account-key-or-session","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/integrations/{integrationId}","successStatus":200},"cli":{"supported":true,"command":"integrations delete"},"mcp":{"supported":true,"tool":"communicate_delete_integration"},"inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"integrationId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","integrationId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true},"message":{"type":"string"}},"required":["deleted","message"],"additionalProperties":false}},{"operationId":"listActions","summary":"List custom agent actions with credential headers redacted","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/actions","successStatus":200},"cli":{"supported":true,"command":"actions list"},"mcp":{"supported":true,"tool":"communicate_list_actions"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"description":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string"},"paramSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"headersConfigured":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","description","method","urlTemplate","paramSchema","bodyTemplate","headersConfigured","createdAt"],"additionalProperties":false}}},{"operationId":"createAction","summary":"Create a custom agent action","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/actions","successStatus":201},"cli":{"supported":true,"command":"actions create"},"mcp":{"supported":true,"tool":"communicate_create_action"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_]{1,64}$"},"description":{"type":"string","minLength":1,"maxLength":1000},"method":{"default":"GET","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string","format":"uri"},"headers":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"paramSchema":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["name","description","urlTemplate","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"description":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string"},"paramSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"headersConfigured":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","description","method","urlTemplate","paramSchema","bodyTemplate","headersConfigured","createdAt"],"additionalProperties":false}},{"operationId":"createActionsBatch","summary":"Atomically create up to twenty custom agent actions","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/actions/batch","successStatus":201,"requestBodyProperty":"actions"},"cli":{"supported":true,"command":"actions batch"},"mcp":{"supported":true,"tool":"communicate_create_actions_batch"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"actions":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_]{1,64}$"},"description":{"type":"string","minLength":1,"maxLength":1000},"method":{"default":"GET","type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string","format":"uri"},"headers":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"paramSchema":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"default":null,"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["name","description","urlTemplate"],"additionalProperties":false}}},"required":["workspaceId","agentId","actions"],"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"description":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string"},"paramSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"headersConfigured":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","description","method","urlTemplate","paramSchema","bodyTemplate","headersConfigured","createdAt"],"additionalProperties":false}}},{"operationId":"updateAction","summary":"Update a custom agent action while preserving omitted headers","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/actions/{actionId}","successStatus":200},"cli":{"supported":true,"command":"actions update"},"mcp":{"supported":true,"tool":"communicate_update_action"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9_]{1,64}$"},"description":{"type":"string","minLength":1,"maxLength":1000},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string","format":"uri"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"paramSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"actionId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","actionId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"description":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"urlTemplate":{"type":"string"},"paramSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"bodyTemplate":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"headersConfigured":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","description","method","urlTemplate","paramSchema","bodyTemplate","headersConfigured","createdAt"],"additionalProperties":false}},{"operationId":"deleteAction","summary":"Delete a custom agent action","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/actions/{actionId}","successStatus":200},"cli":{"supported":true,"command":"actions delete"},"mcp":{"supported":true,"tool":"communicate_delete_action"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"actionId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","actionId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"bootstrapAccountCredential","summary":"Obtain an account credential with verified email and password proof","credentialKind":"password-proof","scopes":[],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/account-credentials/bootstrap"},"cli":{"supported":true,"command":"auth credentials bootstrap"},"mcp":{"supported":false,"tool":"communicate_bootstrap_account_credential"},"inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":5,"maxLength":300},"password":{"writeOnly":true,"format":"password","type":"string","minLength":1,"maxLength":1024},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"audience":{"type":"string","enum":["https://app.communicate.so/api/v1","https://app.communicate.so/mcp"]},"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["name","password","scopes","email"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":5,"maxLength":300},"prefix":{"type":"string"},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"token":{"readOnly":true,"description":"One-time credential secret; not present in subsequent metadata reads.","type":"string"}},"required":["id","name","prefix","scopes","expiresAt","token"],"additionalProperties":false}},{"operationId":"createAccountCredential","summary":"Create an explicit user-bound account credential","credentialKind":"account-key-or-session","scopes":["credentials:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/account-credentials"},"cli":{"supported":true,"command":"auth credentials create"},"mcp":{"supported":true,"tool":"communicate_create_account_credential"},"inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":5,"maxLength":300},"password":{"writeOnly":true,"format":"password","type":"string","minLength":1,"maxLength":1024},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"audience":{"type":"string","enum":["https://app.communicate.so/api/v1","https://app.communicate.so/mcp"]}},"required":["name","password","scopes"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":5,"maxLength":300},"prefix":{"type":"string"},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"token":{"readOnly":true,"description":"One-time credential secret; not present in subsequent metadata reads.","type":"string"}},"required":["id","name","prefix","scopes","expiresAt","token"],"additionalProperties":false}},{"operationId":"listAccountCredentials","summary":"List owned credential metadata with bounded pagination","credentialKind":"account-key-or-session","scopes":["credentials:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/account-credentials"},"cli":{"supported":true,"command":"auth credentials list"},"mcp":{"supported":true,"tool":"communicate_list_account_credentials"},"inputSchema":{"type":"object","properties":{"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false},"outputSchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":5,"maxLength":300},"prefix":{"type":"string"},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"audience":{"type":"string","enum":["https://app.communicate.so/api/v1","https://app.communicate.so/mcp"]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"rotatedFromId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","prefix","scopes","expiresAt","audience","revokedAt","createdAt","rotatedFromId"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false}},{"operationId":"editAccountCredential","summary":"Rename or narrow an owned active credential","credentialKind":"account-key-or-session","scopes":["credentials:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/account-credentials/{credentialId}"},"cli":{"supported":true,"command":"auth credentials update"},"mcp":{"supported":true,"tool":"communicate_edit_account_credential"},"inputSchema":{"type":"object","properties":{"password":{"writeOnly":true,"format":"password","type":"string","minLength":1,"maxLength":1024},"name":{"type":"string","minLength":5,"maxLength":300},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"description":"Future expiry no later than the existing credential expiry.","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"credentialId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["password","credentialId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":5,"maxLength":300},"prefix":{"type":"string"},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"audience":{"type":"string","enum":["https://app.communicate.so/api/v1","https://app.communicate.so/mcp"]},"revokedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"rotatedFromId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","prefix","scopes","expiresAt","audience","revokedAt","createdAt","rotatedFromId"],"additionalProperties":false}},{"operationId":"revokeAccountCredential","summary":"Revoke an owned credential without deleting its history","credentialKind":"account-key-or-session","scopes":["credentials:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/account-credentials/{credentialId}"},"cli":{"supported":true,"command":"auth credentials revoke"},"mcp":{"supported":true,"tool":"communicate_revoke_account_credential"},"inputSchema":{"type":"object","properties":{"password":{"writeOnly":true,"format":"password","type":"string","minLength":1,"maxLength":1024},"credentialId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["password","credentialId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revokedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","revokedAt"],"additionalProperties":false}},{"operationId":"rotateAccountCredential","summary":"Replace a credential atomically without expanding its authority","credentialKind":"account-key-or-session","scopes":["credentials:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/account-credentials/{credentialId}/rotate"},"cli":{"supported":true,"command":"auth credentials rotate"},"mcp":{"supported":true,"tool":"communicate_rotate_account_credential"},"inputSchema":{"type":"object","properties":{"password":{"writeOnly":true,"format":"password","type":"string","minLength":1,"maxLength":1024},"credentialId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["password","credentialId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":5,"maxLength":300},"prefix":{"type":"string"},"scopes":{"minItems":1,"maxItems":33,"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","workspaces:manage","members:read","members:write","teams:read","teams:write","invites:accept","agents:read","agents:write","sources:read","sources:write","learnings:read","learnings:write","grill:read","grill:write","notifications:read","notifications:write","inbox:read","inbox:write","credentials:read","credentials:write","analytics:read","billing:read","analytics:write","billing:write","agents:delete","agents:share","agents:transfer","agents:voice","api-keys:manage","compliance:manage","widget-identity:manage"]}},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"token":{"readOnly":true,"description":"One-time credential secret; not present in subsequent metadata reads.","type":"string"}},"required":["id","name","prefix","scopes","expiresAt","token"],"additionalProperties":false}},{"operationId":"listWorkspaces","summary":"List workspaces of the authenticated user","credentialKind":"account-key-or-session","scopes":["workspaces:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces"},"cli":{"supported":true,"command":"workspaces list"},"mcp":{"supported":true,"tool":"communicate_list_workspaces"},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"planId":{"type":"string"},"timezone":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lifetimePlanId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","planId","timezone","createdAt","updatedAt","lifetimePlanId"],"additionalProperties":false}}},{"operationId":"createWorkspace","summary":"Create a workspace owned by the authenticated user","credentialKind":"account-key-or-session","scopes":["workspaces:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces"},"cli":{"supported":true,"command":"workspaces create"},"mcp":{"supported":true,"tool":"communicate_create_workspace"},"inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255}},"required":["name"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"planId":{"type":"string"},"timezone":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","planId","timezone","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"getAccountPreferences","summary":"Read preferences that follow the authenticated user across workspaces","credentialKind":"account-key-or-session","scopes":["inbox:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/account/preferences"},"cli":{"supported":true,"command":"account preferences get"},"mcp":{"supported":true,"tool":"communicate_get_account_preferences"},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","properties":{"inboxView":{"type":"string","enum":["chat","ticket"]}},"required":["inboxView"],"additionalProperties":false}},{"operationId":"updateAccountPreferences","summary":"Save preferences that follow the authenticated user across workspaces","credentialKind":"account-key-or-session","scopes":["inbox:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/account/preferences"},"cli":{"supported":true,"command":"account preferences update"},"mcp":{"supported":true,"tool":"communicate_update_account_preferences"},"inputSchema":{"type":"object","properties":{"inboxView":{"type":"string","enum":["chat","ticket"]}},"required":["inboxView"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"inboxView":{"type":"string","enum":["chat","ticket"]}},"required":["inboxView"],"additionalProperties":false}},{"operationId":"readWorkspace","summary":"Read a workspace of the authenticated member","scopes":["workspaces:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}","successStatus":200},"cli":{"supported":true,"command":"workspaces get"},"mcp":{"supported":true,"tool":"communicate_read_workspace"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"planId":{"type":"string"},"timezone":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","planId","timezone","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"updateWorkspace","summary":"Rename a workspace or change its timezone","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}","successStatus":200},"cli":{"supported":true,"command":"workspaces update"},"mcp":{"supported":true,"tool":"communicate_update_workspace"},"credentialKind":"account-key-or-session","inputSchema":{"anyOf":[{"required":["name"]},{"required":["timezone"]}],"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"timezone":{"description":"A timezone accepted by the platform Intl implementation, such as UTC or Asia/Kolkata.","type":"string","minLength":1,"maxLength":100},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"planId":{"type":"string"},"timezone":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","name","planId","timezone","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"deleteWorkspace","summary":"Delete an owned workspace with its name as confirmation","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}","successStatus":204},"cli":{"supported":true,"command":"workspaces delete"},"mcp":{"supported":true,"tool":"communicate_delete_workspace"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"workspaceId":{"type":"string","minLength":1}},"required":["name","workspaceId"]},"outputSchema":{"type":"null"}},{"operationId":"listWorkspaceMembers","summary":"List workspace members and identities","scopes":["members:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/members","successStatus":200},"cli":{"supported":true,"command":"members list"},"mcp":{"supported":true,"tool":"communicate_list_workspace_members"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","agent_builder","support_lead","member","analyst","viewer"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","userId","role","createdAt","name","email"],"additionalProperties":false}}},{"operationId":"addWorkspaceMember","summary":"Add a user to a workspace with any role except owner","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/members","successStatus":201},"cli":{"supported":true,"command":"members add"},"mcp":{"supported":true,"tool":"communicate_add_workspace_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"workspaceId":{"type":"string","minLength":1}},"required":["userId","role","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","agent_builder","support_lead","member","analyst","viewer"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","userId","role","createdAt"],"additionalProperties":false}},{"operationId":"updateWorkspaceMemberRole","summary":"Change a non-owner workspace member role","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/members/{memberId}","successStatus":200},"cli":{"supported":true,"command":"members update-role"},"mcp":{"supported":true,"tool":"communicate_update_workspace_member_role"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"workspaceId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["role","workspaceId","memberId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","agent_builder","support_lead","member","analyst","viewer"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","userId","role","createdAt"],"additionalProperties":false}},{"operationId":"removeWorkspaceMember","summary":"Remove a non-owner workspace member","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/members/{memberId}","successStatus":200},"cli":{"supported":true,"command":"members remove"},"mcp":{"supported":true,"tool":"communicate_remove_workspace_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["workspaceId","memberId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"listWorkspaceInvites","summary":"List workspace invitations","scopes":["members:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/members/invites","successStatus":200},"cli":{"supported":true,"command":"members invites list"},"mcp":{"supported":true,"tool":"communicate_list_workspace_invites"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"token":{"type":"string"},"inviteUrl":{"type":"string"},"status":{"type":"string","enum":["pending","accepted","revoked"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"acceptedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","email","role","token","inviteUrl","status","expiresAt","createdAt","acceptedAt"],"additionalProperties":false}}},{"operationId":"createWorkspaceInvite","summary":"Invite someone to a workspace with any role except owner","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/members/invites","successStatus":201},"cli":{"supported":true,"command":"members invites create"},"mcp":{"supported":true,"tool":"communicate_create_workspace_invite"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"workspaceId":{"type":"string","minLength":1}},"required":["email","role","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"token":{"type":"string"},"inviteUrl":{"type":"string"},"status":{"type":"string","enum":["pending","accepted","revoked"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"acceptedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","email","role","token","inviteUrl","status","expiresAt","createdAt","acceptedAt"],"additionalProperties":false}},{"operationId":"resendWorkspaceInvite","summary":"Resend or reactivate an invitation","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/members/invites/{inviteId}/resend","successStatus":200},"cli":{"supported":true,"command":"members invites resend"},"mcp":{"supported":true,"tool":"communicate_resend_workspace_invite"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"inviteId":{"type":"string","minLength":1}},"required":["workspaceId","inviteId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"email":{"type":"string"},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"token":{"type":"string"},"inviteUrl":{"type":"string"},"status":{"type":"string","enum":["pending","accepted","revoked"]},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"acceptedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","email","role","token","inviteUrl","status","expiresAt","createdAt","acceptedAt"],"additionalProperties":false}},{"operationId":"cancelWorkspaceInvite","summary":"Remove a workspace invitation","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/members/invites/{inviteId}","successStatus":200},"cli":{"supported":true,"command":"members invites cancel"},"mcp":{"supported":true,"tool":"communicate_cancel_workspace_invite"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"inviteId":{"type":"string","minLength":1}},"required":["workspaceId","inviteId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"acceptWorkspaceInvite","summary":"Accept an invitation for the verified account email","scopes":["invites:accept"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/invites/{token}/accept","successStatus":200},"cli":{"supported":true,"command":"members invites accept"},"mcp":{"supported":true,"tool":"communicate_accept_workspace_invite"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"token":{"type":"string","minLength":1}},"required":["token"]},"outputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"role":{"type":"string","enum":["admin","agent_builder","support_lead","member","analyst","viewer"]},"status":{"type":"string","const":"accepted"}},"required":["workspaceId","role","status"],"additionalProperties":false}},{"operationId":"readMemberAgentAccess","summary":"Read a member agent allow-list","scopes":["members:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/members/{memberId}/agents","successStatus":200},"cli":{"supported":true,"command":"members agents get"},"mcp":{"supported":true,"tool":"communicate_read_member_agent_access"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["workspaceId","memberId"]},"outputSchema":{"type":"object","properties":{"agentIds":{"type":"array","items":{"type":"string","minLength":1}}},"required":["agentIds"],"additionalProperties":false}},{"operationId":"updateMemberAgentAccess","summary":"Replace a member agent allow-list","scopes":["members:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/members/{memberId}/agents","successStatus":200},"cli":{"supported":true,"command":"members agents update"},"mcp":{"supported":true,"tool":"communicate_update_member_agent_access"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"agentIds":{"type":"array","items":{"type":"string","minLength":1}},"workspaceId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["agentIds","workspaceId","memberId"]},"outputSchema":{"type":"object","properties":{"agentIds":{"type":"array","items":{"type":"string","minLength":1}}},"required":["agentIds"],"additionalProperties":false}},{"operationId":"listTeams","summary":"List workspace teams and memberships","scopes":["teams:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/teams","successStatus":200},"cli":{"supported":true,"command":"teams list"},"mcp":{"supported":true,"tool":"communicate_list_teams"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"members":{"type":"array","items":{"type":"object","properties":{"memberId":{"type":"string","minLength":1},"userId":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","agent_builder","support_lead","member","analyst","viewer"]}},"required":["memberId","userId","role"],"additionalProperties":false}}},"required":["id","name","createdAt","members"],"additionalProperties":false}}},{"operationId":"createTeam","summary":"Create a workspace team","scopes":["teams:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/teams","successStatus":201},"cli":{"supported":true,"command":"teams create"},"mcp":{"supported":true,"tool":"communicate_create_team"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"workspaceId":{"type":"string","minLength":1}},"required":["name","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"members":{"type":"array","items":{"not":{}}}},"required":["id","workspaceId","name","createdAt","members"],"additionalProperties":false}},{"operationId":"updateTeam","summary":"Rename a workspace team","scopes":["teams:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/teams/{teamId}","successStatus":200},"cli":{"supported":true,"command":"teams update"},"mcp":{"supported":true,"tool":"communicate_update_team"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1}},"required":["name","workspaceId","teamId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","createdAt"],"additionalProperties":false}},{"operationId":"deleteTeam","summary":"Delete a workspace team","scopes":["teams:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/teams/{teamId}","successStatus":200},"cli":{"supported":true,"command":"teams delete"},"mcp":{"supported":true,"tool":"communicate_delete_team"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1}},"required":["workspaceId","teamId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"addTeamMember","summary":"Add a workspace member to a team","scopes":["teams:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/teams/{teamId}/members","successStatus":201},"cli":{"supported":true,"command":"teams members add"},"mcp":{"supported":true,"tool":"communicate_add_team_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"memberId":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1}},"required":["memberId","workspaceId","teamId"]},"outputSchema":{"type":"object","properties":{"teamId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["teamId","memberId"],"additionalProperties":false}},{"operationId":"removeTeamMember","summary":"Remove a member from a team","scopes":["teams:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/teams/{teamId}/members/{memberId}","successStatus":200},"cli":{"supported":true,"command":"teams members remove"},"mcp":{"supported":true,"tool":"communicate_remove_team_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"teamId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["workspaceId","teamId","memberId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"listCustomDomains","summary":"List custom domains with the DNS records each still needs","scopes":["workspaces:manage"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/custom-domains","successStatus":200},"cli":{"supported":true,"command":"domains list"},"mcp":{"supported":true,"tool":"communicate_list_custom_domains"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"domain":{"type":"string"},"status":{"type":"string"}},"required":["id","agentId","domain","status"],"additionalProperties":{}}}},{"operationId":"createCustomDomain","summary":"Register a custom domain for an agent on a paid workspace","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/custom-domains","successStatus":201},"cli":{"supported":true,"command":"domains create"},"mcp":{"supported":true,"tool":"communicate_create_custom_domain"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"domain":{"type":"string","maxLength":253},"workspaceId":{"type":"string","minLength":1}},"required":["agentId","domain","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"domain":{"type":"string"},"status":{"type":"string"}},"required":["id","agentId","domain","status"],"additionalProperties":{}}},{"operationId":"verifyCustomDomain","summary":"Check DNS now and mark the custom domain verified when it matches","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/custom-domains/{domainId}/verify","successStatus":200},"cli":{"supported":true,"command":"domains verify"},"mcp":{"supported":true,"tool":"communicate_verify_custom_domain"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"domainId":{"type":"string","minLength":1}},"required":["workspaceId","domainId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"domain":{"type":"string"},"status":{"type":"string"}},"required":["id","agentId","domain","status"],"additionalProperties":{}}},{"operationId":"removeCustomDomain","summary":"Remove a custom domain; one that ever served traffic is parked until DNS moves away","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/custom-domains/{domainId}","successStatus":200},"cli":{"supported":true,"command":"domains remove"},"mcp":{"supported":true,"tool":"communicate_remove_custom_domain"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"domainId":{"type":"string","minLength":1}},"required":["workspaceId","domainId"]},"outputSchema":{"anyOf":[{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false},{"type":"object","properties":{"parked":{"type":"boolean","const":true}},"required":["parked"],"additionalProperties":false}]}},{"operationId":"listWebhooks","summary":"List workspace webhooks without their signing secrets","scopes":["workspaces:manage"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/webhooks","successStatus":200},"cli":{"supported":true,"command":"webhooks list"},"mcp":{"supported":true,"tool":"communicate_list_webhooks"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"webhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"enabled":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","url","events","enabled","createdAt"],"additionalProperties":false}}},"required":["events","webhooks"],"additionalProperties":false}},{"operationId":"createWebhook","summary":"Create a webhook; the signing secret is returned once","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/webhooks","successStatus":201},"cli":{"supported":true,"command":"webhooks create"},"mcp":{"supported":true,"tool":"communicate_create_webhook"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"events":{"minItems":1,"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"workspaceId":{"type":"string","minLength":1}},"required":["url","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"enabled":{"type":"boolean"},"signingSecret":{"type":"string"}},"required":["id","url","events","enabled","signingSecret"],"additionalProperties":false}},{"operationId":"updateWebhook","summary":"Pause, resume or change the events of a webhook","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/webhooks/{webhookId}","successStatus":200},"cli":{"supported":true,"command":"webhooks update"},"mcp":{"supported":true,"tool":"communicate_update_webhook"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"events":{"minItems":1,"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"workspaceId":{"type":"string","minLength":1},"webhookId":{"type":"string","minLength":1}},"required":["workspaceId","webhookId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["conversation.created","message.sent","message.edited","message.failed","contact.created","contact.updated"]}},"enabled":{"type":"boolean"}},"required":["id","url","events","enabled"],"additionalProperties":false}},{"operationId":"deleteWebhook","summary":"Delete a webhook","scopes":["workspaces:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/webhooks/{webhookId}","successStatus":200},"cli":{"supported":true,"command":"webhooks delete"},"mcp":{"supported":true,"tool":"communicate_delete_webhook"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"webhookId":{"type":"string","minLength":1}},"required":["workspaceId","webhookId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"readWorkspaceAnalytics","summary":"Read workspace conversation analytics for the last N days","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/analytics","successStatus":200},"cli":{"supported":true,"command":"analytics show"},"mcp":{"supported":true,"tool":"communicate_read_workspace_analytics"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalytics","summary":"Read one agent analytics for the last N days","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/analytics/agents/{agentId}","successStatus":200},"cli":{"supported":true,"command":"analytics agent"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentInsights","summary":"Read cached topic and sentiment insights for one agent; never spends credits","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/analytics/insights","successStatus":200},"cli":{"supported":true,"command":"analytics insights"},"mcp":{"supported":true,"tool":"communicate_read_agent_insights"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readBilling","summary":"Read the workspace billing overview the caller may see","scopes":["billing:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/billing","successStatus":200},"cli":{"supported":true,"command":"billing show"},"mcp":{"supported":true,"tool":"communicate_read_billing"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readBillingPurchases","summary":"Read whether the workspace has bought before, for checkout copy","scopes":["billing:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/billing/purchases","successStatus":200},"cli":{"supported":true,"command":"billing purchases"},"mcp":{"supported":true,"tool":"communicate_read_billing_purchases"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readBillingUsage","summary":"Read credit usage for a date range","scopes":["billing:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/billing/usage","successStatus":200},"cli":{"supported":true,"command":"billing usage"},"mcp":{"supported":true,"tool":"communicate_read_billing_usage"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"range":{"type":"string","enum":["7d","30d","90d","all","custom"]},"from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readLinkedAnalytics","summary":"Read conversation analytics for agents shared with this workspace","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-analytics","successStatus":200},"cli":{"supported":true,"command":"analytics linked"},"mcp":{"supported":true,"tool":"communicate_read_linked_analytics"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readLinkedInsights","summary":"Read cached insights for a linked agent; never spends credits","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-analytics/insights","successStatus":200},"cli":{"supported":true,"command":"analytics linked-insights"},"mcp":{"supported":true,"tool":"communicate_read_linked_insights"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalyticsSummary","summary":"Read the analytics summary for one agent","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/summary","successStatus":200},"cli":{"supported":true,"command":"analytics agent-summary"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics_summary"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalyticsSurface","summary":"Read which analytics views are available for one agent","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/surface","successStatus":200},"cli":{"supported":true,"command":"analytics agent-surface"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics_surface"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalyticsReport","summary":"Read one analytics report for one agent","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/reports/{report}","successStatus":200},"cli":{"supported":true,"command":"analytics agent-report"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics_report"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"report":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId","report"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentClassificationPolicy","summary":"Read the topic classification policy for one agent","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/classification/policy","successStatus":200},"cli":{"supported":true,"command":"analytics classification-policy"},"mcp":{"supported":true,"tool":"communicate_read_agent_classification_policy"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentClassificationJob","summary":"Read the status of one topic classification job","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/classification/jobs/{jobId}","successStatus":200},"cli":{"supported":true,"command":"analytics classification-job"},"mcp":{"supported":true,"tool":"communicate_read_agent_classification_job"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"jobId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId","jobId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalyticsExport","summary":"Read the status of one analytics export","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/exports/{artifactId}","successStatus":200},"cli":{"supported":true,"command":"analytics export-status"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics_export"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"artifactId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId","artifactId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readAgentAnalyticsDrilldown","summary":"Read the conversations behind an agent analytics view","scopes":["analytics:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/drilldown","successStatus":200},"cli":{"supported":true,"command":"analytics agent-drilldown"},"mcp":{"supported":true,"tool":"communicate_read_agent_analytics_drilldown"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{"type":"string"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readSourceSuggestions","summary":"Review source health and coverage gaps, including sampled visitor questions","scopes":["learnings:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/source-suggestions","successStatus":200},"cli":{"supported":true,"command":"sources suggestions"},"mcp":{"supported":true,"tool":"communicate_read_source_suggestions"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"summary":{"type":"object","properties":{"sourceCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"readySourceCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sampledMessages":{"type":"integer","minimum":0,"maximum":50}},"required":["sourceCount","readySourceCount","sampledMessages"],"additionalProperties":false},"suggestions":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"kind":{"type":"string","enum":["missing_content","source_health","duplicate_source"]},"priority":{"type":"string","enum":["high","medium","low"]},"title":{"type":"string"},"detail":{"type":"string"},"evidence":{"type":"string"},"action":{"type":"string"}},"required":["id","kind","priority","title","detail","evidence","action"],"additionalProperties":false}}},"required":["summary","suggestions"],"additionalProperties":false}},{"operationId":"listAgentModels","summary":"List available models and workspace plan eligibility","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/models","successStatus":200},"cli":{"supported":true,"command":"agents models"},"mcp":{"supported":true,"tool":"communicate_list_agent_models"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"defaultModelId":{"type":"string"},"planId":{"type":"string"},"isFreePlan":{"type":"boolean"},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"},"provider":{"type":"string"},"usageMultiplier":{"type":"number"},"usageLabel":{"type":"string"},"freeAllowed":{"type":"boolean"},"eligible":{"type":"boolean"}},"required":["id","name","provider","usageMultiplier","usageLabel","freeAllowed","eligible"],"additionalProperties":false}}},"required":["defaultModelId","planId","isFreePlan","models"],"additionalProperties":false}},{"operationId":"listWorkspaceAgents","summary":"List accessible workspace agents and activity counts","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents","successStatus":200},"cli":{"supported":true,"command":"agents list-workspace"},"mcp":{"supported":true,"tool":"communicate_list_workspace_agents"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"messageCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"conversationCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sourceCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"resolvedRate":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt","messageCount","conversationCount","sourceCount","resolvedRate"],"additionalProperties":false}}},{"operationId":"createAgent","summary":"Create an agent with explicit settings","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents","successStatus":201},"cli":{"supported":true,"command":"agents create"},"mcp":{"supported":true,"tool":"communicate_create_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":100},"systemPrompt":{"type":"string"},"status":{"type":"string","enum":["active","inactive","draft"]},"model":{"type":"string","minLength":1,"maxLength":100},"temperature":{"type":"number","minimum":0,"maximum":1},"rateLimitPerMinute":{"type":"integer","minimum":1,"maximum":600},"allowedDomains":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"]}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}}},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"]}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"]}},"required":["id","label","type","required"]}}},"required":["enabled","fields"]},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}}},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}}},"escalationTeamId":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},{"type":"null"}]},"logoUrl":{"anyOf":[{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},{"type":"null"}]},"supportEmail":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+$"},"emailFromName":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"indexable":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1}},"required":["name","workspaceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"listHelpArticles","summary":"List help-center articles for an agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/help-center/articles","successStatus":200},"cli":{"supported":true,"command":"help-articles list"},"mcp":{"supported":true,"tool":"communicate_list_help_articles"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"createHelpArticle","summary":"Write a help-center article","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/help-center/articles","successStatus":201},"cli":{"supported":true,"command":"help-articles create"},"mcp":{"supported":true,"tool":"communicate_create_help_article"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"collection":{"type":"string","maxLength":80},"body":{"type":"string","minLength":1,"maxLength":50000},"published":{"type":"boolean"},"aiTrained":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["title","body","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updateHelpArticle","summary":"Edit a help-center article","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/support/help-center/articles/{articleId}","successStatus":200},"cli":{"supported":true,"command":"help-articles update"},"mcp":{"supported":true,"tool":"communicate_update_help_article"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"collection":{"type":"string","maxLength":80},"body":{"type":"string","minLength":1,"maxLength":50000},"published":{"type":"boolean"},"aiTrained":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"articleId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","articleId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listAgentGrants","summary":"List the workspaces this agent is shared with","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/grants","successStatus":200},"cli":{"supported":true,"command":"agents grants"},"mcp":{"supported":true,"tool":"communicate_list_agent_grants"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},{"operationId":"readAgent","summary":"Read an accessible agent and its settings","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}","successStatus":200},"cli":{"supported":true,"command":"agents get"},"mcp":{"supported":true,"tool":"communicate_read_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"updateAgent","summary":"Update supplied agent settings; supplied nested configurations replace their saved object","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}","successStatus":200},"cli":{"supported":true,"command":"agents update"},"mcp":{"supported":true,"tool":"communicate_update_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":2,"maxLength":100},"systemPrompt":{"type":"string"},"status":{"type":"string","enum":["active","inactive","draft"]},"model":{"type":"string","minLength":1,"maxLength":100},"temperature":{"type":"number","minimum":0,"maximum":1},"rateLimitPerMinute":{"type":"integer","minimum":1,"maximum":600},"allowedDomains":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"]}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}}},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"]}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"]}},"required":["id","label","type","required"]}}},"required":["enabled","fields"]},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}}},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}}},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}}},"escalationTeamId":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},{"type":"null"}]},"logoUrl":{"anyOf":[{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},{"type":"null"}]},"supportEmail":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+$"},"emailFromName":{"anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"null"}]},"indexable":{"type":"boolean"},"chatPageEnabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"readAgentSetup","summary":"Read actual agent setup completion","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/setup","successStatus":200},"cli":{"supported":true,"command":"agents setup"},"mcp":{"supported":true,"tool":"communicate_read_agent_setup"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"steps":{"type":"object","properties":{"addSource":{"type":"boolean"},"publish":{"type":"boolean"},"addAction":{"type":"boolean"},"customizeWidget":{"type":"boolean"}},"required":["addSource","publish","addAction","customizeWidget"],"additionalProperties":false},"done":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"number","const":4}},"required":["steps","done","total"],"additionalProperties":false}},{"operationId":"fetchAgentLogo","summary":"Set the agent logo from a website favicon (the supplied website or the saved one)","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/logo/fetch","successStatus":200},"cli":{"supported":true,"command":"agents logo-fetch"},"mcp":{"supported":true,"tool":"communicate_fetch_agent_logo"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"website":{"type":"string","format":"uri"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"readVoiceCatalog","summary":"List available voice options and whether voice runtime is enabled","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/voice/catalog","successStatus":200},"cli":{"supported":true,"command":"agents voice-catalog"},"mcp":{"supported":true,"tool":"communicate_read_voice_catalog"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listAgentContacts","summary":"List the distinct widget visitors who have talked to an agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/contacts","successStatus":200},"cli":{"supported":true,"command":"agents contacts"},"mcp":{"supported":true,"tool":"communicate_list_agent_contacts"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},{"operationId":"chatWithAgentPreview","summary":"Send a playground test message to an agent; spends workspace credits like any chat","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/chat","successStatus":200},"cli":{"supported":true,"command":"agents chat"},"mcp":{"supported":true,"tool":"communicate_chat_with_agent_preview"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":4000},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"conversationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabledActionIds":{"maxItems":100,"type":"array","items":{"type":"string"}},"timeZone":{"type":"string","minLength":1,"maxLength":100},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["message","workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"duplicateAgent","summary":"Duplicate an agent configuration and training sources as a draft","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/duplicate","successStatus":201},"cli":{"supported":true,"command":"agents duplicate"},"mcp":{"supported":true,"tool":"communicate_duplicate_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"name":{"type":"string"},"systemPrompt":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["active","inactive","draft"]},"inTransfer":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"rateLimitPerMinute":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"allowedDomains":{"type":"array","items":{"type":"string"}},"widgetConfig":{"type":"object","properties":{"accentColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"displayName":{"type":"string","maxLength":60},"greeting":{"type":"string","maxLength":500},"suggestedPrompts":{"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}},"promptGroups":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"prompts":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":120}}},"required":["title","prompts"],"additionalProperties":false}},"labels":{"type":"object","properties":{"locale":{"type":"string","enum":["en","es","fr","de","pt"]},"composerPlaceholder":{"type":"string","maxLength":120},"sendButton":{"type":"string","maxLength":40},"openButton":{"type":"string","maxLength":80},"poweredBy":{"type":"string","maxLength":80}},"additionalProperties":false},"messagePlaceholder":{"type":"string","maxLength":120},"privacyPolicyUrl":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500},"dictationEnabled":{"type":"boolean"},"showPoweredBy":{"type":"boolean"},"showTicketCard":{"type":"boolean"},"allowEndChat":{"type":"boolean"},"assistantBubbleStyle":{"type":"string","enum":["soft","white-accent"]},"bubblePosition":{"type":"string","enum":["right","left"]},"panelHeight":{"type":"integer","minimum":400,"maximum":1000},"panelWidth":{"type":"string","enum":["compact","default","wide","extra-wide"]},"socialLinks":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":40},"url":{"format":"uri","description":"A URL with HTTP or HTTPS protocol.","type":"string","maxLength":500}},"required":["label","url"],"additionalProperties":false}},"showSupportEmail":{"type":"boolean"},"chatPageTheme":{"type":"string","enum":["light","dark","both"]},"widgetEnabled":{"type":"boolean"},"preChatForm":{"type":"object","properties":{"enabled":{"type":"boolean"},"fields":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"label":{"type":"string","minLength":1,"maxLength":80},"type":{"type":"string","enum":["email","name","text","select"]},"required":{"type":"boolean"},"options":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"showWhen":{"type":"object","properties":{"fieldId":{"type":"string","minLength":1,"maxLength":40},"equals":{"type":"string","minLength":1,"maxLength":80}},"required":["fieldId","equals"],"additionalProperties":false}},"required":["id","label","type","required"],"additionalProperties":false}}},"required":["enabled","fields"],"additionalProperties":false},"offlineForm":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false}},"additionalProperties":false},"notifyConfig":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"onNewConversation":{"type":"boolean"}},"additionalProperties":false},"voiceConfig":{"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["voiceId"]}}],"type":"object","properties":{"enabled":{"type":"boolean"},"voiceId":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","maxLength":12,"pattern":"^[a-z]{2,3}(?:-[A-Z]{2})?$"},"consentCopy":{"type":"string","minLength":1,"maxLength":1000},"maxDurationSeconds":{"type":"integer","minimum":30,"maximum":3600}},"required":["enabled","language","consentCopy","maxDurationSeconds"],"additionalProperties":false},"learningConfig":{"type":"object","properties":{"captureEnabled":{"type":"boolean"}},"additionalProperties":false},"escalationTeamId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"supportEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"logoUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"chatPageEnabled":{"type":"boolean"},"chatPageBlockedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"indexable":{"type":"boolean"},"emailFromName":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletionScheduledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"deletionRequestedBy":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","name","systemPrompt","status","inTransfer","model","temperature","rateLimitPerMinute","allowedDomains","widgetConfig","notifyConfig","voiceConfig","learningConfig","escalationTeamId","supportEmail","website","logoUrl","chatPageEnabled","chatPageBlockedAt","indexable","emailFromName","deletionScheduledAt","deletionRequestedBy","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"createSource","summary":"Train text or Q&A immediately, or enqueue durable website/blog ingestion","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/sources","successStatus":201,"successStatuses":[201,202]},"cli":{"supported":true,"command":"sources create"},"mcp":{"supported":true,"tool":"communicate_create_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"type":{"default":"text","type":"string","enum":["text","url","qa","blog"]},"title":{"type":"string","minLength":1,"maxLength":255},"content":{"type":"string","minLength":1,"maxLength":200000},"excludePatterns":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["title","content","workspaceId","agentId"]},"outputSchema":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","enum":["processing","ready","error","pending"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","type","title","status","metadata","chunkCount","createdAt","updatedAt"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","const":"processing"},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["id","type","title","status","metadata","chunkCount"],"additionalProperties":false}]}},{"operationId":"listSources","summary":"List source readiness, metadata, queue state and chunk counts","scopes":["sources:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/sources","successStatus":200},"cli":{"supported":true,"command":"sources list"},"mcp":{"supported":true,"tool":"communicate_list_sources"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","enum":["processing","ready","error","pending"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastCrawledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"ingestClaimedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","type","title","status","metadata","chunkCount","createdAt","updatedAt","lastCrawledAt","ingestClaimedAt"],"additionalProperties":false}}},{"operationId":"listSourcePages","summary":"Search and paginate recorded website and blog pages across an agent, with indexing status and source attribution","scopes":["sources:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/pages","successStatus":200},"cli":{"supported":true,"command":"sources pages"},"mcp":{"supported":true,"tool":"communicate_list_source_pages"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"query":{"default":"","type":"string","maxLength":200},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":32768},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"pages":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1},"sourceTitle":{"type":"string"},"title":{"type":"string"},"url":{"format":"uri","maxLength":2048,"type":"string"},"status":{"type":"string","enum":["indexed","indexing","not_indexed","needs_attention","unknown"]},"chunkCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["sourceId","sourceTitle","title","url","status","chunkCount"],"additionalProperties":false}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"matchedTotal":{"type":"integer","minimum":0,"maximum":9007199254740991},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["pages","total","matchedTotal","nextCursor"],"additionalProperties":false}},{"operationId":"readSourceContent","summary":"Read owned source content and its current revision","scopes":["sources:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}","successStatus":200},"cli":{"supported":true,"command":"sources get"},"mcp":{"supported":true,"tool":"communicate_read_source_content"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","sourceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","enum":["processing","ready","error","pending"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"content":{"type":"string"},"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastCrawledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","type","title","status","metadata","chunkCount","createdAt","updatedAt","content","revision","lastCrawledAt"],"additionalProperties":false}},{"operationId":"uploadSourceFile","summary":"Upload and extract a knowledge document up to 10 MB","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/file","successStatus":201,"requestMediaType":"multipart/form-data"},"cli":{"supported":true,"command":"sources upload"},"mcp":{"supported":true,"tool":"communicate_upload_source_file"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","contentEncoding":"binary","minLength":1,"maxLength":10485760},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["file","workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","enum":["processing","ready","error","pending"]},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","type","title","status","chunkCount","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"recrawlSource","summary":"Queue a website or blog source recrawl while preserving prior knowledge until success","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}/recrawl","successStatus":202},"cli":{"supported":true,"command":"sources recrawl"},"mcp":{"supported":true,"tool":"communicate_recrawl_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","sourceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["url","blog"]},"title":{"type":"string"},"status":{"type":"string","const":"processing"}},"required":["id","type","title","status"],"additionalProperties":false}},{"operationId":"updateSourceRefresh","summary":"Enable or disable scheduled website or blog refresh","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}/refresh","successStatus":200},"cli":{"supported":true,"command":"sources refresh"},"mcp":{"supported":true,"tool":"communicate_update_source_refresh"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"refreshDisabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["refreshDisabled","workspaceId","agentId","sourceId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"refreshDisabled":{"type":"boolean"}},"required":["id","refreshDisabled"],"additionalProperties":false}},{"operationId":"updateSourceContent","summary":"Replace source title or editable content using its current revision","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}","successStatus":200},"cli":{"supported":true,"command":"sources update"},"mcp":{"supported":true,"tool":"communicate_update_source_content"},"credentialKind":"account-key-or-session","inputSchema":{"anyOf":[{"required":["title"]},{"required":["content"]}],"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"title":{"type":"string","minLength":1,"maxLength":255},"content":{"type":"string","minLength":1,"maxLength":200000},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["revision","workspaceId","agentId","sourceId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"type":{"type":"string","enum":["text","url","file","qa","blog","human"]},"title":{"type":"string"},"status":{"type":"string","enum":["processing","ready","error","pending"]},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"chunkCount":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"content":{"type":"string"},"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastCrawledAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","type","title","status","metadata","chunkCount","createdAt","updatedAt","content","revision","lastCrawledAt"],"additionalProperties":false}},{"operationId":"deleteSource","summary":"Remove a source and its indexed knowledge","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}","successStatus":200},"cli":{"supported":true,"command":"sources delete"},"mcp":{"supported":true,"tool":"communicate_delete_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","sourceId"]},"outputSchema":{"type":"object","properties":{"deleted":{"type":"boolean","const":true}},"required":["deleted"],"additionalProperties":false}},{"operationId":"deleteSourcePage","summary":"Remove one crawled page from a website or blog source and its indexed chunks","scopes":["sources:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/sources/{sourceId}/pages","successStatus":200},"cli":{"supported":true,"command":"sources delete-page"},"mcp":{"supported":true,"tool":"communicate_delete_source_page"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"url":{"format":"uri","maxLength":2048,"type":"string"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["url","workspaceId","agentId","sourceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listAgentMacros","summary":"List saved replies for an agent with this month's use counts","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/macros","successStatus":200},"cli":{"supported":true,"command":"macros list"},"mcp":{"supported":true,"tool":"communicate_list_agent_macros"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"canEdit":{"type":"boolean"},"macros":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"body":{"type":"string"},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"close":{"type":"boolean"}},"required":["labelIds","close"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"usesThisMonth":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","workspaceId","agentId","name","body","actions","createdAt","updatedAt","usesThisMonth"],"additionalProperties":false}}},"required":["canEdit","macros"],"additionalProperties":false}},{"operationId":"createAgentMacro","summary":"Create a saved reply; names are unique per agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/macros","successStatus":201},"cli":{"supported":true,"command":"macros create"},"mcp":{"supported":true,"tool":"communicate_create_agent_macro"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"body":{"type":"string","minLength":1,"maxLength":10000},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"close":{"type":"boolean"}},"additionalProperties":false},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["name","body","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"body":{"type":"string"},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"close":{"type":"boolean"}},"required":["labelIds","close"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"usesThisMonth":{"type":"number","const":0}},"required":["id","workspaceId","agentId","name","body","actions","createdAt","updatedAt","usesThisMonth"],"additionalProperties":false}},{"operationId":"updateAgentMacro","summary":"Update supplied saved reply fields","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/support/macros/{macroId}","successStatus":200},"cli":{"supported":true,"command":"macros update"},"mcp":{"supported":true,"tool":"communicate_update_agent_macro"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"body":{"type":"string","minLength":1,"maxLength":10000},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"close":{"type":"boolean"}},"additionalProperties":false},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"macroId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","macroId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"body":{"type":"string"},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"close":{"type":"boolean"}},"required":["labelIds","close"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","body","actions","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"deleteAgentMacro","summary":"Delete a saved reply","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/support/macros/{macroId}","successStatus":204},"cli":{"supported":true,"command":"macros delete"},"mcp":{"supported":true,"tool":"communicate_delete_agent_macro"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"macroId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","macroId"]},"outputSchema":{"type":"null"}},{"operationId":"recordAgentMacroUse","summary":"Record that the caller inserted a saved reply","scopes":["agents:read"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/macros/{macroId}/uses","successStatus":204},"cli":{"supported":true,"command":"macros use"},"mcp":{"supported":true,"tool":"communicate_record_agent_macro_use"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"macroId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","macroId"]},"outputSchema":{"type":"null"}},{"operationId":"listAgentRules","summary":"List an agent's automation rules in run order with weekly fire counts","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules","successStatus":200},"cli":{"supported":true,"command":"rules list"},"mcp":{"supported":true,"tool":"communicate_list_agent_rules"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"canEdit":{"type":"boolean"},"loopGuard":{"type":"boolean"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"}},"channels":{"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"required":["keywords","channels"],"additionalProperties":false},"actions":{"type":"object","properties":{"labelIds":{"type":"array","items":{"type":"string"}},"teamId":{"anyOf":[{"type":"string"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}]},"close":{"type":"boolean"}},"required":["labelIds","teamId","priority","close"],"additionalProperties":false},"enabled":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"firesThisWeek":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["id","workspaceId","agentId","name","trigger","conditions","actions","enabled","position","createdAt","updatedAt","firesThisWeek"],"additionalProperties":false}}},"required":["canEdit","loopGuard","rules"],"additionalProperties":false}},{"operationId":"createAgentRule","summary":"Create an automation rule at the end of the run order","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules","successStatus":201},"cli":{"supported":true,"command":"rules create"},"mcp":{"supported":true,"tool":"communicate_create_agent_rule"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"channels":{"maxItems":4,"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"additionalProperties":false},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"teamId":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}]},"close":{"type":"boolean"}},"additionalProperties":false},"enabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["name","trigger","conditions","actions","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"}},"channels":{"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"required":["keywords","channels"],"additionalProperties":false},"actions":{"type":"object","properties":{"labelIds":{"type":"array","items":{"type":"string"}},"teamId":{"anyOf":[{"type":"string"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}]},"close":{"type":"boolean"}},"required":["labelIds","teamId","priority","close"],"additionalProperties":false},"enabled":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"firesThisWeek":{"type":"number","const":0}},"required":["id","workspaceId","agentId","name","trigger","conditions","actions","enabled","position","createdAt","updatedAt","firesThisWeek"],"additionalProperties":false}},{"operationId":"updateAgentRule","summary":"Update supplied automation rule fields","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/{ruleId}","successStatus":200},"cli":{"supported":true,"command":"rules update"},"mcp":{"supported":true,"tool":"communicate_update_agent_rule"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"channels":{"maxItems":4,"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"additionalProperties":false},"actions":{"type":"object","properties":{"labelIds":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"teamId":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}]},"close":{"type":"boolean"}},"additionalProperties":false},"enabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"ruleId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","ruleId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"name":{"type":"string"},"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"}},"channels":{"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"required":["keywords","channels"],"additionalProperties":false},"actions":{"type":"object","properties":{"labelIds":{"type":"array","items":{"type":"string"}},"teamId":{"anyOf":[{"type":"string"},{"type":"null"}]},"priority":{"anyOf":[{"type":"string","enum":["low","normal","high","urgent"]},{"type":"null"}]},"close":{"type":"boolean"}},"required":["labelIds","teamId","priority","close"],"additionalProperties":false},"enabled":{"type":"boolean"},"position":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspaceId","agentId","name","trigger","conditions","actions","enabled","position","createdAt","updatedAt"],"additionalProperties":false}},{"operationId":"deleteAgentRule","summary":"Delete an automation rule","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/{ruleId}","successStatus":204},"cli":{"supported":true,"command":"rules delete"},"mcp":{"supported":true,"tool":"communicate_delete_agent_rule"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"ruleId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","ruleId"]},"outputSchema":{"type":"null"}},{"operationId":"reorderAgentRules","summary":"Set the run order; send every rule of the agent exactly once","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/order","successStatus":204},"cli":{"supported":true,"command":"rules reorder"},"mcp":{"supported":true,"tool":"communicate_reorder_agent_rules"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"string","minLength":1}},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["ids","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"null"}},{"operationId":"setAgentRuleLoopGuard","summary":"Turn the automation loop guard on or off","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/loop-guard","successStatus":200},"cli":{"supported":true,"command":"rules loop-guard"},"mcp":{"supported":true,"tool":"communicate_set_agent_rule_loop_guard"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["enabled","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"loopGuard":{"type":"boolean"}},"required":["loopGuard"],"additionalProperties":false}},{"operationId":"listAgentRuleRuns","summary":"List the 50 latest rule fires, newest first","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/runs","successStatus":200},"cli":{"supported":true,"command":"rules runs"},"mcp":{"supported":true,"tool":"communicate_list_agent_rule_runs"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"runs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"ruleId":{"type":"string","minLength":1},"ruleName":{"type":"string"},"conversationId":{"type":"string","minLength":1},"firedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","ruleId","ruleName","conversationId","firedAt"],"additionalProperties":false}}},"required":["runs"],"additionalProperties":false}},{"operationId":"previewAgentRule","summary":"Dry-run rule conditions against recent conversations without applying them","scopes":["agents:write"],"readOnly":true,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/rules/preview","successStatus":200},"cli":{"supported":true,"command":"rules preview"},"mcp":{"supported":true,"tool":"communicate_preview_agent_rule"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"trigger":{"type":"string","enum":["conversation_created","message_received"]},"conditions":{"type":"object","properties":{"keywords":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"channels":{"maxItems":4,"type":"array","items":{"type":"string","enum":["widget","email","api","playground"]}}},"additionalProperties":false},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["trigger","conditions","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"matched":{"type":"integer","minimum":0,"maximum":9007199254740991},"scanned":{"type":"integer","minimum":0,"maximum":9007199254740991},"days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["matched","scanned","days"],"additionalProperties":false}},{"operationId":"readAgentSupportSettings","summary":"Read assignment, hours, reply targets, email handling, the caller signature and the support mailbox","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/settings","successStatus":200},"cli":{"supported":true,"command":"support settings"},"mcp":{"supported":true,"tool":"communicate_read_agent_support_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"canEdit":{"type":"boolean"},"settings":{"type":"object","properties":{"assignment":{"type":"object","properties":{"method":{"type":"string","enum":["round_robin","fewest_open","manual"]},"limitPerPerson":{"anyOf":[{"type":"integer","minimum":1,"maximum":500},{"type":"null"}]},"onlineOnly":{"type":"boolean"}},"required":["method","limitPerPerson","onlineOnly"],"additionalProperties":false},"hours":{"type":"object","properties":{"enabled":{"type":"boolean"},"timezone":{"type":"string","minLength":1,"maxLength":64},"days":{"type":"object","properties":{"mon":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"tue":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"wed":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"thu":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"fri":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sat":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sun":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false}},"required":["mon","tue","wed","thu","fri","sat","sun"],"additionalProperties":false},"outsideHoursReply":{"type":"string","maxLength":1000}},"required":["enabled","timezone","days","outsideHoursReply"],"additionalProperties":false},"targets":{"type":"object","properties":{"firstReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]},"nextReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]}},"required":["firstReplyMinutes","nextReplyMinutes"],"additionalProperties":false},"email":{"type":"object","properties":{"ignoreAutoReplies":{"type":"boolean"},"keepCc":{"type":"boolean"}},"required":["ignoreAutoReplies","keepCc"],"additionalProperties":false},"automation":{"type":"object","properties":{"loopGuard":{"type":"boolean"}},"required":["loopGuard"],"additionalProperties":false}},"required":["assignment","hours","targets","email"],"additionalProperties":false},"signature":{"type":"string"},"mailbox":{"type":"object","properties":{"address":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["address"],"additionalProperties":false}},"required":["canEdit","settings","signature","mailbox"],"additionalProperties":false}},{"operationId":"updateAgentSupportSettings","summary":"Replace support settings; the stored loop guard is kept when automation is omitted","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}/support/settings","successStatus":200},"cli":{"supported":true,"command":"support settings set"},"mcp":{"supported":true,"tool":"communicate_update_agent_support_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"assignment":{"type":"object","properties":{"method":{"type":"string","enum":["round_robin","fewest_open","manual"]},"limitPerPerson":{"anyOf":[{"type":"integer","minimum":1,"maximum":500},{"type":"null"}]},"onlineOnly":{"type":"boolean"}},"required":["method","limitPerPerson","onlineOnly"],"additionalProperties":false},"hours":{"type":"object","properties":{"enabled":{"type":"boolean"},"timezone":{"type":"string","minLength":1,"maxLength":64},"days":{"type":"object","properties":{"mon":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"tue":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"wed":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"thu":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"fri":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sat":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sun":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false}},"required":["mon","tue","wed","thu","fri","sat","sun"],"additionalProperties":false},"outsideHoursReply":{"type":"string","maxLength":1000}},"required":["enabled","timezone","days","outsideHoursReply"],"additionalProperties":false},"targets":{"type":"object","properties":{"firstReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]},"nextReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]}},"required":["firstReplyMinutes","nextReplyMinutes"],"additionalProperties":false},"email":{"type":"object","properties":{"ignoreAutoReplies":{"type":"boolean"},"keepCc":{"type":"boolean"}},"required":["ignoreAutoReplies","keepCc"],"additionalProperties":false},"automation":{"type":"object","properties":{"loopGuard":{"type":"boolean"}},"required":["loopGuard"],"additionalProperties":false},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["assignment","hours","targets","email","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"settings":{"type":"object","properties":{"assignment":{"type":"object","properties":{"method":{"type":"string","enum":["round_robin","fewest_open","manual"]},"limitPerPerson":{"anyOf":[{"type":"integer","minimum":1,"maximum":500},{"type":"null"}]},"onlineOnly":{"type":"boolean"}},"required":["method","limitPerPerson","onlineOnly"],"additionalProperties":false},"hours":{"type":"object","properties":{"enabled":{"type":"boolean"},"timezone":{"type":"string","minLength":1,"maxLength":64},"days":{"type":"object","properties":{"mon":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"tue":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"wed":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"thu":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"fri":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sat":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false},"sun":{"type":"object","properties":{"open":{"type":"boolean"},"start":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"}},"required":["open","start","end"],"additionalProperties":false}},"required":["mon","tue","wed","thu","fri","sat","sun"],"additionalProperties":false},"outsideHoursReply":{"type":"string","maxLength":1000}},"required":["enabled","timezone","days","outsideHoursReply"],"additionalProperties":false},"targets":{"type":"object","properties":{"firstReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]},"nextReplyMinutes":{"anyOf":[{"type":"integer","minimum":1,"maximum":10080},{"type":"null"}]}},"required":["firstReplyMinutes","nextReplyMinutes"],"additionalProperties":false},"email":{"type":"object","properties":{"ignoreAutoReplies":{"type":"boolean"},"keepCc":{"type":"boolean"}},"required":["ignoreAutoReplies","keepCc"],"additionalProperties":false},"automation":{"type":"object","properties":{"loopGuard":{"type":"boolean"}},"required":["loopGuard"],"additionalProperties":false}},"required":["assignment","hours","targets","email"],"additionalProperties":false}},"required":["settings"],"additionalProperties":false}},{"operationId":"setAgentSupportSignature","summary":"Set or clear the caller own email signature for this agent","scopes":["agents:read"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}/support/signature","successStatus":200},"cli":{"supported":true,"command":"support signature"},"mcp":{"supported":true,"tool":"communicate_set_agent_support_signature"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"signature":{"type":"string","maxLength":2000},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["signature","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"signature":{"type":"string","maxLength":2000}},"required":["signature"],"additionalProperties":false}},{"operationId":"listLinkedAgents","summary":"List agents other workspaces share with this workspace","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-agents","successStatus":200},"cli":{"supported":true,"command":"linked list"},"mcp":{"supported":true,"tool":"communicate_list_linked_agents"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId"]},"outputSchema":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},{"operationId":"readLinkedAgent","summary":"Read one linked agent grant","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}","successStatus":200},"cli":{"supported":true,"command":"linked read"},"mcp":{"supported":true,"tool":"communicate_read_linked_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readLinkedAgentSettings","summary":"Read the settings a Manage grant may change","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/settings","successStatus":200},"cli":{"supported":true,"command":"linked read-settings"},"mcp":{"supported":true,"tool":"communicate_read_linked_agent_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listLinkedAgentActions","summary":"List actions on a Manage-linked agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/actions","successStatus":200},"cli":{"supported":true,"command":"linked list-actions"},"mcp":{"supported":true,"tool":"communicate_list_linked_agent_actions"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId"]},"outputSchema":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},{"operationId":"listLinkedAgentSources","summary":"List sources on a Manage-linked agent","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources","successStatus":200},"cli":{"supported":true,"command":"linked list-sources"},"mcp":{"supported":true,"tool":"communicate_list_linked_agent_sources"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId"]},"outputSchema":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},{"operationId":"setLinkedAgentAiSettings","summary":"Change prompt, model or temperature on a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/settings/ai","successStatus":200},"cli":{"supported":true,"command":"linked set-ai-settings"},"mcp":{"supported":true,"tool":"communicate_set_linked_agent_ai_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setLinkedAgentWidgetSettings","summary":"Change widget settings on a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/settings/widget","successStatus":200},"cli":{"supported":true,"command":"linked set-widget-settings"},"mcp":{"supported":true,"tool":"communicate_set_linked_agent_widget_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setLinkedAgentPause","summary":"Pause or resume a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/settings/pause","successStatus":200},"cli":{"supported":true,"command":"linked set-pause"},"mcp":{"supported":true,"tool":"communicate_set_linked_agent_pause"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"paused":{"type":"boolean"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["revision","paused","destinationWorkspaceId","grantId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updateLinkedAgentAction","summary":"Edit an action on a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/actions/{actionId}","successStatus":200},"cli":{"supported":true,"command":"linked update-action"},"mcp":{"supported":true,"tool":"communicate_update_linked_agent_action"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"actionId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId","actionId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"createLinkedAgentSource","summary":"Add a text, Q&A, URL or blog source to a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources","successStatus":201},"cli":{"supported":true,"command":"linked create-source"},"mcp":{"supported":true,"tool":"communicate_create_linked_agent_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"type":{"type":"string","enum":["text","qa","url","blog"]},"title":{"type":"string","minLength":1,"maxLength":255},"content":{"type":"string","minLength":1,"maxLength":200000},"authorityConfirmed":{"type":"boolean","const":true},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["type","title","content","authorityConfirmed","destinationWorkspaceId","grantId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updateLinkedAgentSource","summary":"Edit a source on a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources/{sourceId}","successStatus":200},"cli":{"supported":true,"command":"linked update-source"},"mcp":{"supported":true,"tool":"communicate_update_linked_agent_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId","sourceId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"retrainLinkedAgentSource","summary":"Retrain a source on a Manage-linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources/{sourceId}/retrain","successStatus":200},"cli":{"supported":true,"command":"linked retrain-source"},"mcp":{"supported":true,"tool":"communicate_retrain_linked_agent_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId","sourceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"enableLinkedAgentSource","summary":"Turn on scheduled refresh for a linked source","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources/{sourceId}/enable","successStatus":200},"cli":{"supported":true,"command":"linked enable-source"},"mcp":{"supported":true,"tool":"communicate_enable_linked_agent_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId","sourceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"disableLinkedAgentSource","summary":"Turn off scheduled refresh for a linked source","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/sources/{sourceId}/disable","successStatus":200},"cli":{"supported":true,"command":"linked disable-source"},"mcp":{"supported":true,"tool":"communicate_disable_linked_agent_source"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"revision":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"sourceId":{"type":"string","minLength":1}},"required":["revision","destinationWorkspaceId","grantId","sourceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"unlinkLinkedAgent","summary":"Remove a linked agent from this workspace","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/unlink","successStatus":200},"cli":{"supported":true,"command":"linked unlink"},"mcp":{"supported":true,"tool":"communicate_unlink_linked_agent"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"assignLinkedAgentMember","summary":"Give a teammate access to a linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/member-assignments","successStatus":200},"cli":{"supported":true,"command":"linked assign-member"},"mcp":{"supported":true,"tool":"communicate_assign_linked_agent_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"memberId":{"type":"string","minLength":1},"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["memberId","destinationWorkspaceId","grantId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"unassignLinkedAgentMember","summary":"Remove a teammate from a linked agent","scopes":["agents:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{destinationWorkspaceId}/linked-agents/{grantId}/member-assignments/{memberId}","successStatus":200},"cli":{"supported":true,"command":"linked unassign-member"},"mcp":{"supported":true,"tool":"communicate_unassign_linked_agent_member"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1},"memberId":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","grantId","memberId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"requestAgentDeletion","summary":"Email the workspace owner a 6-digit code to delete this agent","scopes":["agents:delete"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/deletion/request","successStatus":200},"cli":{"supported":true,"command":"request-agent-deletion"},"mcp":{"supported":true,"tool":"communicate_request_agent_deletion"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"confirmAgentDeletion","summary":"Schedule agent deletion with the emailed 6-digit code","scopes":["agents:delete"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/deletion/confirm","successStatus":200},"cli":{"supported":true,"command":"confirm-agent-deletion"},"mcp":{"supported":true,"tool":"communicate_confirm_agent_deletion"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"otp":{"type":"string","pattern":"^\\d{6}$"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["otp","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"cancelAgentDeletion","summary":"Cancel a scheduled agent deletion","scopes":["agents:delete"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/deletion/cancel","successStatus":200},"cli":{"supported":true,"command":"cancel-agent-deletion"},"mcp":{"supported":true,"tool":"communicate_cancel_agent_deletion"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"deleteHelpArticle","summary":"Delete a help-center article and untrain it","scopes":["agents:delete"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/agents/{agentId}/support/help-center/articles/{articleId}","successStatus":204},"cli":{"supported":true,"command":"delete-help-article"},"mcp":{"supported":true,"tool":"communicate_delete_help_article"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"articleId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","articleId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"createAgentGrant","summary":"Share this agent with another workspace by email","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grants","successStatus":201},"cli":{"supported":true,"command":"create-agent-grant"},"mcp":{"supported":true,"tool":"communicate_create_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"recipientEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"permissionLevel":{"type":"string","enum":["operate","manage"]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["recipientEmail","permissionLevel","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updateAgentGrantPermission","summary":"Change what a linked workspace may do with this agent","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/agents/{agentId}/grants/{grantId}/permission","successStatus":200},"cli":{"supported":true,"command":"update-agent-grant-permission"},"mcp":{"supported":true,"tool":"communicate_update_agent_grant_permission"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"permissionLevel":{"type":"string","enum":["operate","manage"]},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["permissionLevel","workspaceId","agentId","grantId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"resendAgentGrant","summary":"Resend a pending share invitation","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grants/{grantId}/resend","successStatus":200},"cli":{"supported":true,"command":"resend-agent-grant"},"mcp":{"supported":true,"tool":"communicate_resend_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"cancelAgentGrant","summary":"Cancel a pending share invitation","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grants/{grantId}/cancel","successStatus":200},"cli":{"supported":true,"command":"cancel-agent-grant"},"mcp":{"supported":true,"tool":"communicate_cancel_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"revokeAgentGrant","summary":"Revoke an accepted share","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grants/{grantId}/revoke","successStatus":200},"cli":{"supported":true,"command":"revoke-agent-grant"},"mcp":{"supported":true,"tool":"communicate_revoke_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"grantId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","grantId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"acceptLinkedAgentGrant","summary":"Accept a shared agent into one of your workspaces","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/linked-agent-grants/{token}/accept","successStatus":200},"cli":{"supported":true,"command":"accept-linked-agent-grant"},"mcp":{"supported":true,"tool":"communicate_accept_linked_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"destinationWorkspaceId":{"type":"string","minLength":1},"token":{"type":"string","minLength":1}},"required":["destinationWorkspaceId","token"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"declineLinkedAgentGrant","summary":"Decline a shared agent","scopes":["agents:share"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/linked-agent-grants/{token}/decline","successStatus":200},"cli":{"supported":true,"command":"decline-linked-agent-grant"},"mcp":{"supported":true,"tool":"communicate_decline_linked_agent_grant"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"token":{"type":"string","minLength":1}},"required":["token"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"previewAgentTransfer","summary":"Show what an agent transfer would move","scopes":["agents:transfer"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/transfer/preview","successStatus":200},"cli":{"supported":true,"command":"preview-agent-transfer"},"mcp":{"supported":true,"tool":"communicate_preview_agent_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"createAgentTransfer","summary":"Offer this agent to another account by email; nothing moves until they accept","scopes":["agents:transfer"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/transfer","successStatus":201},"cli":{"supported":true,"command":"create-agent-transfer"},"mcp":{"supported":true,"tool":"communicate_create_agent_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"recipientEmail":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["recipientEmail","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"cancelAgentTransfer","summary":"Cancel a pending outgoing agent transfer","scopes":["agents:transfer"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/transfer/{transferId}/cancel","successStatus":200},"cli":{"supported":true,"command":"cancel-agent-transfer"},"mcp":{"supported":true,"tool":"communicate_cancel_agent_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"transferId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","transferId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listWorkspaceTransfers","summary":"List outgoing agent transfers from this workspace","scopes":["agents:transfer"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/transfers","successStatus":200},"cli":{"supported":true,"command":"list-workspace-transfers"},"mcp":{"supported":true,"tool":"communicate_list_workspace_transfers"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listIncomingTransfers","summary":"List agent transfers offered to you","scopes":["agents:transfer"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/transfers","successStatus":200},"cli":{"supported":true,"command":"list-incoming-transfers"},"mcp":{"supported":true,"tool":"communicate_list_incoming_transfers"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readIncomingTransfer","summary":"Read one agent transfer offered to you","scopes":["agents:transfer"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/transfers/{transferId}","successStatus":200},"cli":{"supported":true,"command":"read-incoming-transfer"},"mcp":{"supported":true,"tool":"communicate_read_incoming_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"transferId":{"type":"string","minLength":1}},"required":["transferId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"acceptAgentTransfer","summary":"Accept an agent transfer into one of your workspaces","scopes":["agents:transfer"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/transfers/{transferId}/accept","successStatus":200},"cli":{"supported":true,"command":"accept-agent-transfer"},"mcp":{"supported":true,"tool":"communicate_accept_agent_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"transferId":{"type":"string","minLength":1}},"required":["workspaceId","transferId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"declineAgentTransfer","summary":"Decline an agent transfer offered to you","scopes":["agents:transfer"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/transfers/{transferId}/decline","successStatus":200},"cli":{"supported":true,"command":"decline-agent-transfer"},"mcp":{"supported":true,"tool":"communicate_decline_agent_transfer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"transferId":{"type":"string","minLength":1}},"required":["transferId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"startPlaygroundVoiceSession","summary":"Open a dashboard playground voice session; spends voice credits","scopes":["agents:voice"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/voice/sessions","successStatus":201},"cli":{"supported":true,"command":"start-playground-voice-session"},"mcp":{"supported":true,"tool":"communicate_start_playground_voice_session"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"consent":{"type":"boolean","const":true},"idempotencyKey":{"type":"string","minLength":8,"maxLength":128},"conversationId":{"type":"string","minLength":1,"maxLength":200},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["consent","idempotencyKey","workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readWidgetIdentity","summary":"Read widget identity verification settings, including the signing secret for owners and admins","scopes":["widget-identity:manage"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/support/widget-identity","successStatus":200},"cli":{"supported":true,"command":"read-widget-identity"},"mcp":{"supported":true,"tool":"communicate_read_widget_identity"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updateWidgetIdentity","summary":"Turn widget identity verification or history merging on or off","scopes":["widget-identity:manage"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/agents/{agentId}/support/widget-identity","successStatus":200},"cli":{"supported":true,"command":"update-widget-identity"},"mcp":{"supported":true,"tool":"communicate_update_widget_identity"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"mergeHistory":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"rotateWidgetIdentitySecret","summary":"Replace the widget identity signing secret; the old one stops working","scopes":["widget-identity:manage"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/support/widget-identity/rotate","successStatus":200},"cli":{"supported":true,"command":"rotate-widget-identity-secret"},"mcp":{"supported":true,"tool":"communicate_rotate_widget_identity_secret"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listApiKeys","summary":"List workspace API keys by prefix; tokens are never returned","scopes":["api-keys:manage"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/api-keys","successStatus":200},"cli":{"supported":true,"command":"list-api-keys"},"mcp":{"supported":true,"tool":"communicate_list_api_keys"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"createApiKey","summary":"Create a workspace API key; the token is returned once","scopes":["api-keys:manage"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/api-keys","successStatus":201},"cli":{"supported":true,"command":"create-api-key"},"mcp":{"supported":true,"tool":"communicate_create_api_key"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":5,"maxLength":300},"scopes":{"minItems":1,"type":"array","items":{"type":"string"}},"workspaceId":{"type":"string","minLength":1}},"required":["name","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"revokeApiKey","summary":"Revoke a workspace API key","scopes":["api-keys:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/api-keys/{keyId}","successStatus":200},"cli":{"supported":true,"command":"revoke-api-key"},"mcp":{"supported":true,"tool":"communicate_revoke_api_key"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"keyId":{"type":"string","minLength":1}},"required":["workspaceId","keyId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"deleteApiKey","summary":"Permanently remove an already-revoked workspace API key","scopes":["api-keys:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/api-keys/{keyId}/permanent","successStatus":200},"cli":{"supported":true,"command":"delete-api-key"},"mcp":{"supported":true,"tool":"communicate_delete_api_key"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"keyId":{"type":"string","minLength":1}},"required":["workspaceId","keyId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"startPlanCheckout","summary":"Start a hosted checkout for a paid plan","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/checkout","successStatus":200},"cli":{"supported":true,"command":"start-plan-checkout"},"mcp":{"supported":true,"tool":"communicate_start_plan_checkout"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"planId":{"type":"string","minLength":1},"interval":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["planId","interval","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"startTopUpCheckout","summary":"Start a hosted checkout for a credit top-up pack","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/topups/checkout","successStatus":200},"cli":{"supported":true,"command":"start-top-up-checkout"},"mcp":{"supported":true,"tool":"communicate_start_top_up_checkout"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"packId":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["packId","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"previewPlanChange","summary":"Preview the charge for changing plan","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/change/preview","successStatus":200},"cli":{"supported":true,"command":"preview-plan-change"},"mcp":{"supported":true,"tool":"communicate_preview_plan_change"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"planId":{"type":"string","minLength":1},"interval":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["planId","interval","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"changePlan","summary":"Change the subscription plan; may charge the saved card","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/change","successStatus":200},"cli":{"supported":true,"command":"change-plan"},"mcp":{"supported":true,"tool":"communicate_change_plan"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"planId":{"type":"string","minLength":1},"interval":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["planId","interval","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"cancelSubscription","summary":"Cancel the subscription at the end of the period","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/cancel","successStatus":200},"cli":{"supported":true,"command":"cancel-subscription"},"mcp":{"supported":true,"tool":"communicate_cancel_subscription"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"resumeSubscription","summary":"Resume a subscription set to cancel","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/resume","successStatus":200},"cli":{"supported":true,"command":"resume-subscription"},"mcp":{"supported":true,"tool":"communicate_resume_subscription"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"updatePaymentMethod","summary":"Start the hosted flow to replace the saved card","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/billing/payment-method","successStatus":200},"cli":{"supported":true,"command":"update-payment-method"},"mcp":{"supported":true,"tool":"communicate_update_payment_method"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["requestId","workspaceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setAutoTopUp","summary":"Set the automatic credit top-up policy","scopes":["billing:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{workspaceId}/billing/auto-top-up","successStatus":200},"cli":{"supported":true,"command":"set-auto-top-up"},"mcp":{"supported":true,"tool":"communicate_set_auto_top_up"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1}},"required":["enabled","workspaceId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"exportWorkspaceData","summary":"Export every conversation, message and contact in the workspace","scopes":["compliance:manage"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/compliance/export","successStatus":200},"cli":{"supported":true,"command":"export-workspace-data"},"mcp":{"supported":true,"tool":"communicate_export_workspace_data"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"eraseWorkspaceConversations","summary":"Permanently erase every conversation in the workspace","scopes":["compliance:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/compliance/conversations","successStatus":200},"cli":{"supported":true,"command":"erase-workspace-conversations"},"mcp":{"supported":true,"tool":"communicate_erase_workspace_conversations"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"eraseSupportEvidencePayload","summary":"Permanently erase one evidence payload from a support request","scopes":["compliance:manage"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/workspaces/{workspaceId}/support-requests/{requestId}/evidence/{evidenceId}/payload","successStatus":200},"cli":{"supported":true,"command":"erase-support-evidence-payload"},"mcp":{"supported":true,"tool":"communicate_erase_support_evidence_payload"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"expectedLifecycleVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200},"reason":{"type":"string","minLength":1,"maxLength":1000},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},"workspaceId":{"type":"string","minLength":1},"requestId":{"type":"string","minLength":1},"evidenceId":{"type":"string","minLength":1}},"required":["expectedLifecycleVersion","idempotencyKey","reason","workspaceId","requestId","evidenceId"],"additionalProperties":false},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"refreshAgentInsights","summary":"Recompute topic and sentiment insights for one agent; spends credits","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/analytics/insights/refresh","successStatus":200},"cli":{"supported":true,"command":"refresh-agent-insights"},"mcp":{"supported":true,"tool":"communicate_refresh_agent_insights"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["agentId","requestId","workspaceId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"refreshLinkedInsights","summary":"Recompute insights for a linked agent; spends credits","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{destinationWorkspaceId}/linked-analytics/insights/refresh","successStatus":200},"cli":{"supported":true,"command":"refresh-linked-insights"},"mcp":{"supported":true,"tool":"communicate_refresh_linked_insights"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","minLength":1},"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"destinationWorkspaceId":{"type":"string","minLength":1}},"required":["agentId","requestId","destinationWorkspaceId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"setClassificationPolicy","summary":"Set how conversations are classified for analytics","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"PUT","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/classification/policy","successStatus":200},"cli":{"supported":true,"command":"set-classification-policy"},"mcp":{"supported":true,"tool":"communicate_set_classification_policy"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"startClassificationJob","summary":"Classify past conversations for analytics; may spend credits","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/classification/jobs","successStatus":200},"cli":{"supported":true,"command":"start-classification-job"},"mcp":{"supported":true,"tool":"communicate_start_classification_job"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"classifyConversationManually","summary":"Set the analytics classification of one conversation by hand","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/classification/manual","successStatus":200},"cli":{"supported":true,"command":"classify-conversation-manually"},"mcp":{"supported":true,"tool":"communicate_classify_conversation_manually"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"renameAnalyticsTopic","summary":"Rename an analytics topic","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/{canonicalTopicId}/rename","successStatus":200},"cli":{"supported":true,"command":"rename-analytics-topic"},"mcp":{"supported":true,"tool":"communicate_rename_analytics_topic"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"canonicalTopicId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId","canonicalTopicId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"archiveAnalyticsTopic","summary":"Archive an analytics topic","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/{canonicalTopicId}/archive","successStatus":200},"cli":{"supported":true,"command":"archive-analytics-topic"},"mcp":{"supported":true,"tool":"communicate_archive_analytics_topic"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"canonicalTopicId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId","canonicalTopicId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"mergeAnalyticsTopics","summary":"Merge analytics topics into one","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/merge","successStatus":200},"cli":{"supported":true,"command":"merge-analytics-topics"},"mcp":{"supported":true,"tool":"communicate_merge_analytics_topics"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"previewTopicReprocess","summary":"Preview the cost of regrouping conversations into topics","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/reprocess/preview","successStatus":200},"cli":{"supported":true,"command":"preview-topic-reprocess"},"mcp":{"supported":true,"tool":"communicate_preview_topic_reprocess"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"confirmTopicReprocess","summary":"Regroup conversations into topics; spends credits","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/reprocess/confirm","successStatus":200},"cli":{"supported":true,"command":"confirm-topic-reprocess"},"mcp":{"supported":true,"tool":"communicate_confirm_topic_reprocess"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"readTopicReprocessStatus","summary":"Read the progress of a topic regroup","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/reprocess/status","successStatus":200},"cli":{"supported":true,"command":"read-topic-reprocess-status"},"mcp":{"supported":true,"tool":"communicate_read_topic_reprocess_status"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"cancelTopicReprocess","summary":"Cancel a running topic regroup","scopes":["analytics:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{requestingWorkspaceId}/agents/{agentId}/analytics/topics/reprocess/cancel","successStatus":200},"cli":{"supported":true,"command":"cancel-topic-reprocess"},"mcp":{"supported":true,"tool":"communicate_cancel_topic_reprocess"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"requestingWorkspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["requestingWorkspaceId","agentId"],"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},{"operationId":"listLearnings","summary":"Review captured learning candidates and publication state","scopes":["learnings:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/learnings","successStatus":200},"cli":{"supported":true,"command":"learnings list"},"mcp":{"supported":true,"tool":"communicate_list_learnings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"question":{"type":"string"},"answer":{"type":"string"},"status":{"type":"string","enum":["pending","conflicted","published","superseded","rejected"]},"timesSeen":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"capturedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"supersedesId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["id","question","answer","status","timesSeen","capturedAt","supersedesId"],"additionalProperties":false}}},{"operationId":"approveLearning","summary":"Approve captured knowledge using existing publication and conflict rules","scopes":["learnings:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/learnings/{learningId}/approve","successStatus":200},"cli":{"supported":true,"command":"learnings approve"},"mcp":{"supported":true,"tool":"communicate_approve_learning"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"learningId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","learningId"]},"outputSchema":{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}},{"operationId":"rejectLearning","summary":"Reject captured knowledge using existing terminal and conflict rules","scopes":["learnings:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/learnings/{learningId}/reject","successStatus":200},"cli":{"supported":true,"command":"learnings reject"},"mcp":{"supported":true,"tool":"communicate_reject_learning"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"learningId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","learningId"]},"outputSchema":{"type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"],"additionalProperties":false}},{"operationId":"readActiveGrillRound","summary":"Resume the latest active training round or report no draft","scopes":["grill:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/active","successStatus":200},"cli":{"supported":true,"command":"grill rounds active"},"mcp":{"supported":true,"tool":"communicate_read_active_grill_round"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"round":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["active","complete"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","agentId","size","status","createdAt","updatedAt","completedAt"],"additionalProperties":false},{"type":"null"}]},"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false}},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["round","questions","balance"],"additionalProperties":false}},{"operationId":"createGrillRound","summary":"Generate a resumable training round and charge for its generated questions","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds","successStatus":201},"cli":{"supported":true,"command":"grill rounds create"},"mcp":{"supported":true,"tool":"communicate_create_grill_round"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"size":{"enum":[5,10,15,20,25],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1}},"required":["size","workspaceId","agentId"]},"outputSchema":{"type":"object","properties":{"round":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["active","complete"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","agentId","size","status","createdAt","updatedAt","completedAt"],"additionalProperties":false},"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false}},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["round","questions","balance"],"additionalProperties":false}},{"operationId":"readGrillRound","summary":"Read an addressed training round and its questions","scopes":["grill:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}","successStatus":200},"cli":{"supported":true,"command":"grill rounds get"},"mcp":{"supported":true,"tool":"communicate_read_grill_round"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","roundId"]},"outputSchema":{"type":"object","properties":{"round":{"type":"object","properties":{"id":{"type":"string","minLength":1},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"size":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["active","complete"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspaceId","agentId","size","status","createdAt","updatedAt","completedAt"],"additionalProperties":false},"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false}},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["round","questions","balance"],"additionalProperties":false}},{"operationId":"answerGrillQuestion","summary":"Save, edit or clear a training answer without charging credits","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}/questions/{questionId}/answer","successStatus":200},"cli":{"supported":true,"command":"grill questions answer"},"mcp":{"supported":true,"tool":"communicate_answer_grill_question"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"answer":{"type":"string","maxLength":20000},"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1},"questionId":{"type":"string","minLength":1}},"required":["answer","workspaceId","agentId","roundId","questionId"]},"outputSchema":{"type":"object","properties":{"question":{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false}},"required":["question"],"additionalProperties":false}},{"operationId":"draftGrillAnswer","summary":"Draft an answer from live retrieval and charge one credit without saving it","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}/questions/{questionId}/draft","successStatus":200},"cli":{"supported":true,"command":"grill questions draft"},"mcp":{"supported":true,"tool":"communicate_draft_grill_answer"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1},"questionId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","roundId","questionId"]},"outputSchema":{"type":"object","properties":{"draft":{"type":"string"},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["draft","balance"],"additionalProperties":false}},{"operationId":"skipGrillQuestion","summary":"Skip a training question and charge only when a replacement is generated","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}/questions/{questionId}/skip","successStatus":200},"cli":{"supported":true,"command":"grill questions skip"},"mcp":{"supported":true,"tool":"communicate_skip_grill_question"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1},"questionId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","roundId","questionId"]},"outputSchema":{"type":"object","properties":{"skippedId":{"type":"string","minLength":1},"replacement":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false},{"type":"null"}]},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["skippedId","replacement","balance"],"additionalProperties":false}},{"operationId":"regenerateGrillQuestion","summary":"Replace an unanswered training question and charge one credit","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}/questions/{questionId}/regenerate","successStatus":200},"cli":{"supported":true,"command":"grill questions regenerate"},"mcp":{"supported":true,"tool":"communicate_regenerate_grill_question"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1},"questionId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","roundId","questionId"]},"outputSchema":{"type":"object","properties":{"question":{"type":"object","properties":{"id":{"type":"string","minLength":1},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"question":{"type":"string"},"answer":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["unanswered","answered","skipped"]}},"required":["id","position","question","answer","state"],"additionalProperties":false},"balance":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["question","balance"],"additionalProperties":false}},{"operationId":"finishGrillRound","summary":"Publish answered training pairs as indexed Q&A knowledge without charging credits","scopes":["grill:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/agents/{agentId}/grill/rounds/{roundId}/finish","successStatus":200},"cli":{"supported":true,"command":"grill rounds finish"},"mcp":{"supported":true,"tool":"communicate_finish_grill_round"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1},"agentId":{"type":"string","minLength":1},"roundId":{"type":"string","minLength":1}},"required":["workspaceId","agentId","roundId"]},"outputSchema":{"type":"object","properties":{"saved":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["saved"],"additionalProperties":false}},{"operationId":"readNotificationPublicKey","summary":"Read the configured public Push application key","scopes":["notifications:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/member-notifications/vapid-public-key","successStatus":200},"cli":{"supported":true,"command":"notifications public-key"},"mcp":{"supported":true,"tool":"communicate_read_notification_public_key"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"publicKey":{"type":"string"}},"required":["publicKey"],"additionalProperties":false}},{"operationId":"listNotificationDevices","summary":"List owned notification devices without endpoint or key secrets","scopes":["notifications:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/member-notifications/subscriptions","successStatus":200},"cli":{"supported":true,"command":"notifications devices list"},"mcp":{"supported":true,"tool":"communicate_list_notification_devices"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"devices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"status":{"type":"string","enum":["enabled","expired","attention"]},"lastActiveAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSuccessAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"needsAttention":{"type":"boolean"},"failureClass":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","label","status","lastActiveAt","lastSuccessAt","needsAttention","failureClass"],"additionalProperties":false}}},"required":["devices"],"additionalProperties":false}},{"operationId":"readNotificationBadge","summary":"Read the authenticated user notification badge count","scopes":["notifications:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/member-notifications/badge","successStatus":200},"cli":{"supported":true,"command":"notifications badge"},"mcp":{"supported":true,"tool":"communicate_read_notification_badge"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{}},"outputSchema":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["count"],"additionalProperties":false}},{"operationId":"registerNotificationDevice","summary":"Register or rebind a Push subscription supplied by its device","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/member-notifications/subscriptions","successStatus":201,"successStatuses":[201,200]},"cli":{"supported":true,"command":"notifications devices register"},"mcp":{"supported":true,"tool":"communicate_register_notification_device"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"endpoint":{"type":"string","minLength":1,"maxLength":2048},"keys":{"type":"object","properties":{"p256dh":{"type":"string","maxLength":87},"auth":{"type":"string","maxLength":22}},"required":["p256dh","auth"]}},"required":["endpoint","keys"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"status":{"type":"string","const":"enabled"}},"required":["id","label","status"],"additionalProperties":false}},{"operationId":"renameNotificationDevice","summary":"Rename a notification device owned by the authenticated user","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/member-notifications/subscriptions/{subscriptionId}","successStatus":200},"cli":{"supported":true,"command":"notifications devices rename"},"mcp":{"supported":true,"tool":"communicate_rename_notification_device"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":64},"subscriptionId":{"type":"string","minLength":1}},"required":["label","subscriptionId"]},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1}},"required":["id"],"additionalProperties":false}},{"operationId":"deleteNotificationDevice","summary":"Remove an owned notification device and its dependent delivery state","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"DELETE","path":"/member-notifications/subscriptions/{subscriptionId}","successStatus":204},"cli":{"supported":true,"command":"notifications devices delete"},"mcp":{"supported":true,"tool":"communicate_delete_notification_device"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"subscriptionId":{"type":"string","minLength":1}},"required":["subscriptionId"]},"outputSchema":{"type":"null"}},{"operationId":"readNotificationSettings","summary":"Read personal workspace notification settings and accessible devices and agents","scopes":["notifications:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/member-notifications","successStatus":200},"cli":{"supported":true,"command":"notifications settings get"},"mcp":{"supported":true,"tool":"communicate_read_notification_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"configured":{"type":"boolean"},"preferences":{"type":"object","properties":{"pushEnabled":{"type":"boolean"},"notifyNewMessage":{"type":"boolean"},"notifyHandoff":{"type":"boolean"},"notifyAssignment":{"type":"boolean"},"agentScope":{"type":"string","enum":["all","selected"]},"selectedAgentIds":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1}},"showPreview":{"type":"boolean"},"soundEnabled":{"type":"boolean"},"bannerDismissed":{"type":"boolean"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["pushEnabled","notifyNewMessage","notifyHandoff","notifyAssignment","agentScope","selectedAgentIds","showPreview","soundEnabled","bannerDismissed","revision"],"additionalProperties":false},"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"devices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"label":{"type":"string"},"status":{"type":"string","enum":["enabled","expired","attention"]},"lastActiveAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSuccessAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"needsAttention":{"type":"boolean"},"failureClass":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","label","status","lastActiveAt","lastSuccessAt","needsAttention","failureClass"],"additionalProperties":false}}},"required":["configured","preferences","agents","devices"],"additionalProperties":false}},{"operationId":"updateNotificationSettings","summary":"Update personal notification settings using the current revision","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"PATCH","path":"/workspaces/{workspaceId}/member-notifications/preferences","successStatus":200},"cli":{"supported":true,"command":"notifications settings update"},"mcp":{"supported":true,"tool":"communicate_update_notification_settings"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"pushEnabled":{"type":"boolean"},"notifyNewMessage":{"type":"boolean"},"notifyHandoff":{"type":"boolean"},"notifyAssignment":{"type":"boolean"},"agentScope":{"type":"string","enum":["all","selected"]},"selectedAgentIds":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1}},"showPreview":{"type":"boolean"},"soundEnabled":{"type":"boolean"},"bannerDismissed":{"type":"boolean"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"workspaceId":{"type":"string","minLength":1}},"required":["revision","workspaceId"]},"outputSchema":{"type":"object","properties":{"pushEnabled":{"type":"boolean"},"notifyNewMessage":{"type":"boolean"},"notifyHandoff":{"type":"boolean"},"notifyAssignment":{"type":"boolean"},"agentScope":{"type":"string","enum":["all","selected"]},"selectedAgentIds":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1}},"showPreview":{"type":"boolean"},"soundEnabled":{"type":"boolean"},"bannerDismissed":{"type":"boolean"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["pushEnabled","notifyNewMessage","notifyHandoff","notifyAssignment","agentScope","selectedAgentIds","showPreview","soundEnabled","bannerDismissed","revision"],"additionalProperties":false}},{"operationId":"updateNotificationVisibility","summary":"Set or clear the short-lived visibility proof for an accessible conversation","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/member-notifications/visibility","successStatus":200},"cli":{"supported":true,"command":"notifications visibility update"},"mcp":{"supported":true,"tool":"communicate_update_notification_visibility"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"conversationId":{"type":"string","minLength":1,"maxLength":200},"visible":{"type":"boolean"},"workspaceId":{"type":"string","minLength":1}},"required":["conversationId","visible","workspaceId"]},"outputSchema":{"type":"object","properties":{"ok":{"type":"boolean","const":true},"visibleUntil":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["ok"],"additionalProperties":false}},{"operationId":"sendNotificationTest","summary":"Send a content-free test to an owned enabled device; provider acceptance is not device delivery proof","scopes":["notifications:write"],"readOnly":false,"api":{"supported":true,"method":"POST","path":"/workspaces/{workspaceId}/member-notifications/test","successStatus":200},"cli":{"supported":true,"command":"notifications test"},"mcp":{"supported":true,"tool":"communicate_send_notification_test"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"subscriptionId":{"type":"string","minLength":1,"maxLength":200},"testId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspaceId":{"type":"string","minLength":1}},"required":["subscriptionId","workspaceId"]},"outputSchema":{"type":"object","properties":{"status":{"type":"string","const":"accepted"}},"required":["status"],"additionalProperties":false}},{"operationId":"readNotificationMemberSummary","summary":"Read content-free member notification readiness as a live owner or admin","scopes":["notifications:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/workspaces/{workspaceId}/member-notifications/member-summary","successStatus":200},"cli":{"supported":true,"command":"notifications members list"},"mcp":{"supported":true,"tool":"communicate_read_notification_member_summary"},"credentialKind":"account-key-or-session","inputSchema":{"type":"object","properties":{"workspaceId":{"type":"string","minLength":1}},"required":["workspaceId"]},"outputSchema":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"memberId":{"type":"string","minLength":1},"enabled":{"type":"boolean"}},"required":["memberId","enabled"],"additionalProperties":false}}},"required":["members"],"additionalProperties":false}},{"operationId":"listAgents","summary":"List agents in the credential workspace","credentialKind":"workspace-key-or-oauth-token","scopes":["agents:read"],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/agents"},"cli":{"supported":true,"command":"agents list"},"mcp":{"supported":true,"tool":"communicate_list_agents"},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","inactive","draft"]}},"required":["id","name","status"],"additionalProperties":false}}},{"operationId":"listCapabilities","summary":"List registered contracts and surface availability","credentialKind":"public","scopes":[],"readOnly":true,"api":{"supported":true,"method":"GET","path":"/capabilities"},"cli":{"supported":true,"command":"capabilities list"},"mcp":{"supported":true,"tool":"communicate_list_capabilities"},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"outputSchema":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"1.0.0"},"coverage":{"type":"string","enum":["partial","complete"]},"operations":{"type":"array","items":{"type":"object","properties":{"operationId":{"type":"string"},"summary":{"type":"string"},"credentialKind":{"type":"string","enum":["public","password-proof","workspace-key-or-oauth-token","verified-session","verified-session-with-fresh-proof","account-key-or-session"]},"scopes":{"type":"array","items":{"type":"string"}},"readOnly":{"type":"boolean"},"api":{"type":"object","properties":{"supported":{"type":"boolean"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"]},"path":{"type":"string"},"successStatus":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"successStatuses":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"requestBodyProperty":{"type":"string"},"requestMediaType":{"type":"string","enum":["application/json","multipart/form-data"]}},"required":["supported","method","path"],"additionalProperties":false},"cli":{"type":"object","properties":{"supported":{"type":"boolean"},"command":{"type":"string"}},"required":["supported","command"],"additionalProperties":false},"mcp":{"type":"object","properties":{"supported":{"type":"boolean"},"tool":{"type":"string"}},"required":["supported","tool"],"additionalProperties":false},"inputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["operationId","summary","credentialKind","scopes","readOnly","api","cli","mcp","inputSchema","outputSchema"],"additionalProperties":false}}},"required":["schemaVersion","coverage","operations"],"additionalProperties":false}}]}