MCP Tools Reference: chronicle.googleapis.comStay organized with collectionsSave and categorize content based on your preferences.
Tool:create_case_comment
Creates a new case comment in Google SecOps.
Adds a new, structured comment to an existing SOAR case, enabling analysts to log notes, updates, or decisions within an investigation. This is a critical function for maintaining a clear and auditable record of all activities related to a security case.
Workflow Integration:- A fundamental part of documenting an investigation and maintaining an audit trail for compliance and review. - Integrates seamlessly with UI actions, such as an "Add Comment" button on a case details page, allowing for manual entry of findings. - Allows for automated systems and playbooks to log their actions directly into a case, providing a unified timeline of both human and machine activities. - Can be used to trigger other automated workflows; for example, adding a comment with a specific tag could initiate a new playbook.
Use Cases:- An analyst adds a manual note about their findings after investigating an alert, such as "Confirmed phishing email from sender X." - An automated playbook adds a comment detailing an action it took, like "Successfully isolated host Y from the network." - A user attaches an artifact or file to the case with a descriptive comment, which can be done by providing attachment details within the comment. - A manager adds a comment to assign the case to a different analyst or to provide guidance on the next steps.
Args: project_id (str): Google Cloud project ID (required). customer_id (str): Chronicle customer ID (required). region (str): Chronicle region (e.g., "us", "europe") (required). case_id (str): The numeric ID of the case to which the comment will be added (e.g., '12345'). This is a required field. comment (str): The content of the comment. This is a required field and can contain text, links, or other relevant information.
Returns: CaseComment: The newly created CaseComment object, including its unique, server-assigned resource name and creation timestamp. The CaseComment object contains the following key fields: -Name(str): The full resource name of the comment. -Id(int): The unique identifier for the comment. -Comment(str): The content of the comment. -UserOwnerFullName(str): The full name of the user who created the comment. -LastEditorFullName(str): The full name of the user who last edited the comment. -CreateTime(int): The creation timestamp of the comment in milliseconds. -UpdateTime(int): The last update timestamp of the comment in milliseconds. -IsFavorite(bool): Indicates if the comment is marked as a favorite. -IsDeleted(bool): Indicates if the comment has been deleted. -AlertIdentifier(str): The identifier of the alert associated with the comment, if any. Returns an error message if the parent case is not found, if the user does not have permission, or if the comment could not be created for other reasons.
Example Usage: # Create a new comment for a case create_case_comment( project_id='123', region='us', customer_id='abc', case_id='456', comment='Investigated suspicious login from external IP. The IP has been added to the blocklist.' )
Next Steps (using MCP-enabled tools): - Use 'list_case_comments' to see the newly created comment in the case's timeline along with other comments. - Use 'get_case_comment' with the returned resource name to retrieve its full details at a later time. - Use 'update_case' to change the status or other properties of the case based on the new comment.
The following sample demonstrate how to usecurlto invoke thecreate_case_commentMCP tool.
Curl Request
curl--location'https://chronicle.googleapis.com/mcp'\--header'content-type: application/json'\--header'accept: application/json, text/event-stream'\--data'{"method": "tools/call","params": {"name": "create_case_comment","arguments": {// provide these details according to the tool'sMCPspecification}},"jsonrpc":"2.0","id":1}'
This service is available for customers who migrated SOAR to a customer managed project and have the Chronicle API enabled. Case Comment - Chronicle SOAR Case Comment.
CaseComment
JSON representation
{"name":string,"createTime":string,"updateTime":string,"user":string,"comment":string,"deletionInvoker":string,"alertIdentifier":string,"caseAttachment":{object (CaseAttachment)},"userOwnerFullName":string,"lastEditorFullName":string,"deletedByUser":string,"case":string,// Union field_is_favoritecan be only one of the following:"isFavorite":boolean// End of list of possible types for union field_is_favorite.// Union field_is_deletedcan be only one of the following:"isDeleted":boolean// End of list of possible types for union field_is_deleted.}
Fields
name
string
Output only. Identifier. The unique name(ID) of the CaseComment. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseComments/{case_comment}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-15 UTC."],[],[]]
Tool:
create_case_commentCreates a new case comment in Google SecOps.
Adds a new, structured comment to an existing SOAR case, enabling analysts to log notes, updates, or decisions within an investigation. This is a critical function for maintaining a clear and auditable record of all activities related to a security case.
Workflow Integration:- A fundamental part of documenting an investigation and maintaining an audit trail for compliance and review. - Integrates seamlessly with UI actions, such as an "Add Comment" button on a case details page, allowing for manual entry of findings. - Allows for automated systems and playbooks to log their actions directly into a case, providing a unified timeline of both human and machine activities. - Can be used to trigger other automated workflows; for example, adding a comment with a specific tag could initiate a new playbook.
Use Cases:- An analyst adds a manual note about their findings after investigating an alert, such as "Confirmed phishing email from sender X." - An automated playbook adds a comment detailing an action it took, like "Successfully isolated host Y from the network." - A user attaches an artifact or file to the case with a descriptive comment, which can be done by providing attachment details within the comment. - A manager adds a comment to assign the case to a different analyst or to provide guidance on the next steps.
Args: project_id (str): Google Cloud project ID (required). customer_id (str): Chronicle customer ID (required). region (str): Chronicle region (e.g., "us", "europe") (required). case_id (str): The numeric ID of the case to which the comment will be added (e.g., '12345'). This is a required field. comment (str): The content of the comment. This is a required field and can contain text, links, or other relevant information.
Returns: CaseComment: The newly created CaseComment object, including its unique, server-assigned resource name and creation timestamp. The CaseComment object contains the following key fields: -
Name(str): The full resource name of the comment. -Id(int): The unique identifier for the comment. -Comment(str): The content of the comment. -UserOwnerFullName(str): The full name of the user who created the comment. -LastEditorFullName(str): The full name of the user who last edited the comment. -CreateTime(int): The creation timestamp of the comment in milliseconds. -UpdateTime(int): The last update timestamp of the comment in milliseconds. -IsFavorite(bool): Indicates if the comment is marked as a favorite. -IsDeleted(bool): Indicates if the comment has been deleted. -AlertIdentifier(str): The identifier of the alert associated with the comment, if any. Returns an error message if the parent case is not found, if the user does not have permission, or if the comment could not be created for other reasons.Example Usage: # Create a new comment for a case create_case_comment( project_id='123', region='us', customer_id='abc', case_id='456', comment='Investigated suspicious login from external IP. The IP has been added to the blocklist.' )
Next Steps (using MCP-enabled tools): - Use 'list_case_comments' to see the newly created comment in the case's timeline along with other comments. - Use 'get_case_comment' with the returned resource name to retrieve its full details at a later time. - Use 'update_case' to change the status or other properties of the case based on the new comment.
The following sample demonstrate how to use
curlto invoke thecreate_case_commentMCP tool.Input Schema
Request message for CreateCaseComment. Next ID: 7
CreateCaseCommentRequest
projectIdstringProject ID of the customer.
customerIdstringCustomer ID of the customer.
regionstringRegion of the customer.
caseIdstringCase ID.
commentstringComment.
Output Schema
This service is available for customers who migrated SOAR to a customer managed project and have the Chronicle API enabled. Case Comment - Chronicle SOAR Case Comment.
CaseComment
namestringOutput only. Identifier. The unique name(ID) of the CaseComment. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseComments/{case_comment}
createTimestring ( int64 format)Output only. The timestamp when the comment was created.
updateTimestring ( int64 format)Output only. The timestamp when the comment was last updated.
userstringOutput only. User owner of the comment.
commentstringRequired. The content of the comment.
deletionInvokerstringOutput only. The user who deleted the comment.
alertIdentifierstringOptional. The alert associated with the comment.
caseAttachmentobject (CaseAttachment)Optional. The attachment associated with the comment.
userOwnerFullNamestringOutput only. The user who created the comment.
lastEditorFullNamestringOutput only. The user who last edited the comment.
deletedByUserstringOutput only. The user who deleted the comment.
casestring ( int64 format)Optional. The case associated with the comment.
Union field
_is_favorite._is_favoritecan be only one of the following:isFavoritebooleanOptional. Whether the comment is marked as a favorite.
Union field
_is_deleted._is_deletedcan be only one of the following:isDeletedbooleanOutput only. Indicates if the comment has been softly deleted.
CaseAttachment
attachmentBase64stringRequired. Base64 encoded attachment associated with the comment (if exists).
fileTypestringRequired. The file type of the attachment (if exists).
fileNamestringRequired. The file name of the attachment (if it exists).
fileIdstring ( int64 format)Output only. The file id of the attachment.
Tool Annotations
Destructive Hint: ❌ | Idempotent Hint: ❌ | Read Only Hint: ❌ | Open World Hint: ❌