{ "name": "AddCommentToCase", "fully_qualified_name": "DatadogApi.AddCommentToCase@0.1.0", "description": "Add a comment to a specific case in Datadog.\n\nUse this tool to post a comment to a particular case within the Datadog system by providing the case ID.", "toolkit": { "name": "ArcadeDatadogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "case_identifier", "required": true, "description": "The unique identifier (UUID or key) for the case to which the comment will be added.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Case's UUID or key" }, "inferrable": true, "http_endpoint_parameter_name": "case_id" }, { "name": "comment_message", "required": true, "description": "The message content to be added as a comment on the case.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The `CaseCommentAttributes` `message`." }, "inferrable": true, "http_endpoint_parameter_name": "data.attributes.comment" }, { "name": "case_resource_type", "required": true, "description": "Specify the type of resource, always set to 'case'.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "case" ], "properties": null, "inner_properties": null, "description": "Case resource type" }, "inferrable": true, "http_endpoint_parameter_name": "data.type" } ] }, "output": { "description": "Response from the API endpoint 'CommentCase'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": null, "secrets": [ { "key": "DATADOG_API_KEY" }, { "key": "DATADOG_APPLICATION_KEY" }, { "key": "DATADOG_BASE_URL" } ], "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.1.0", "description": "Tools that enable LLMs to interact directly with the Datadog API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://{datadog_base_url}/api/v2/cases/{case_id}/comment", "http_method": "POST", "headers": {}, "parameters": [ { "name": "case_id", "tool_parameter_name": "case_identifier", "description": "Case's UUID or key", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Case's UUID or key" }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.attributes.comment", "tool_parameter_name": "comment_message", "description": "The `CaseCommentAttributes` `message`.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The `CaseCommentAttributes` `message`." }, "accepted_as": "body", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "data.type", "tool_parameter_name": "case_resource_type", "description": "Case resource type", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": [ "case" ], "properties": null, "inner_properties": null, "description": "Case resource type" }, "accepted_as": "body", "required": true, "deprecated": false, "default": "case", "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "DATADOG_API_KEY", "parameter_name": "DD-API-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_APPLICATION_KEY", "parameter_name": "DD-APPLICATION-KEY", "accepted_as": "header", "formatted_value": null, "description": "", "is_auth_token": false }, { "arcade_key": "DATADOG_BASE_URL", "parameter_name": "datadog_base_url", "accepted_as": "path", "formatted_value": null, "description": "", "is_auth_token": false } ], "request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"Case comment request\",\n \"properties\": {\n \"data\": {\n \"description\": \"Case comment\",\n \"properties\": {\n \"attributes\": {\n \"description\": \"Case comment attributes\",\n \"properties\": {\n \"comment\": {\n \"description\": \"The `CaseCommentAttributes` `message`.\",\n \"example\": \"This is my comment !\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"comment\"\n ],\n \"type\": \"object\"\n },\n \"type\": {\n \"default\": \"case\",\n \"description\": \"Case resource type\",\n \"enum\": [\n \"case\"\n ],\n \"example\": \"case\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"CASE\"\n ]\n }\n },\n \"required\": [\n \"attributes\",\n \"type\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Case comment payload\",\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }