You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -321,7 +321,7 @@ const main = async () => {
321
321
322
322
tool(
323
323
'list_vulnerabilities',
324
-
'List all non-muted vulnerabilities from Dynatrace for the last 30 days. An additional filter can be provided using DQL filter.',
324
+
'Retrieve all active (non-muted) vulnerabilities from Dynatrace for the last 30 days. An additional filter can be provided using DQL filter.',
325
325
{
326
326
riskScore: z
327
327
.number()
@@ -562,7 +562,7 @@ const main = async () => {
562
562
563
563
tool(
564
564
'verify_dql',
565
-
'Verify a Dynatrace Query Language (DQL) statement on Dynatrace GRAIL before executing it. This step is recommended for DQL statements that have been dynamically created by non-expert tools. For statements coming from the `generate_dql_from_natural_language` tool as well as from documentation, this step can be omitted.',
565
+
'Syntactically verify a Dynatrace Query Language (DQL) statement on Dynatrace GRAIL before executing it. Recommended for generated DQL statements. Skip for statements created by `generate_dql_from_natural_language` tool, as well as from documentation.',
566
566
{
567
567
dqlStatement: z.string(),
568
568
},
@@ -592,7 +592,7 @@ const main = async () => {
592
592
if(response.valid){
593
593
resp+=`The DQL statement is valid - you can use the "execute_dql" tool.\n`;
594
594
}else{
595
-
resp+=`The DQL statement is invalid. Please adapt your statement.\n`;
595
+
resp+=`The DQL statement is invalid. Please adapt your statement. Consider using "generate_dql_from_natural_language" tool for help.\n`;
596
596
}
597
597
598
598
returnresp;
@@ -602,8 +602,8 @@ const main = async () => {
602
602
tool(
603
603
'execute_dql',
604
604
'Get Logs, Metrics, Spans or Events from Dynatrace GRAIL by executing a Dynatrace Query Language (DQL) statement. '+
605
-
'You can also use the "generate_dql_from_natural_language" tool upfront to generate or refine a DQL statement based on your request. '+
606
-
'Note: For more information about available fields for filters and aggregation, use the query "fetch dt.semantic_dictionary.models | filter data_object == \"logs\""',
605
+
'Use the "generate_dql_from_natural_language" tool upfront to generate or refine a DQL statement based on your request. '+
606
+
'To learn about possible fields available for filtering, use the query "fetch dt.semantic_dictionary.models | filter data_object == \"logs\""',
607
607
{
608
608
dqlStatement: z
609
609
.string()
@@ -795,7 +795,7 @@ const main = async () => {
795
795
796
796
tool(
797
797
'chat_with_davis_copilot',
798
-
'Use this tool in case no specific tool is available. Get an answer to any Dynatrace related question as well as troubleshooting, and guidance. *(Note: Davis CoPilot AI is GA, but the Davis CoPilot APIs are in preview)*',
798
+
'Use this tool to ask any Dynatrace related question, in case no other more specific tool is available.',
799
799
{
800
800
text: z.string().describe('Your question or request for Davis CoPilot'),
801
801
context: z.string().optional().describe('Optional context to provide additional information'),
0 commit comments