{
  "service": "new_relic",
  "displayName": "New Relic",
  "categories": [
    "Developer Tools"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "User Key",
      "placeholder": "Your New Relic user key",
      "description": "New Relic user key sent with the Api-Key header for NerdGraph and supported REST API requests. Manage user keys from the official API keys page: https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://newrelic.com",
  "actions": [
    {
      "id": "new_relic.create_alert_policy",
      "service": "new_relic",
      "name": "create_alert_policy",
      "description": "Create a New Relic alert policy using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The alert policy name."
          },
          "incidentPreference": {
            "type": "string",
            "enum": [
              "PER_POLICY",
              "PER_CONDITION",
              "PER_CONDITION_AND_TARGET"
            ],
            "description": "The incident preference for the new policy."
          }
        },
        "additionalProperties": false,
        "required": [
          "name"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "policy": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "policy"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_dashboard",
      "service": "new_relic",
      "name": "create_dashboard",
      "description": "Create a New Relic dashboard with pages and widgets using NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID that will own the dashboard."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The dashboard name."
          },
          "description": {
            "type": "string",
            "description": "The optional dashboard description."
          },
          "permissions": {
            "type": "string",
            "enum": [
              "PRIVATE",
              "PUBLIC_READ_ONLY",
              "PUBLIC_READ_WRITE"
            ],
            "description": "The dashboard permission setting."
          },
          "pages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "Dashboard page definitions.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "name",
          "permissions",
          "pages"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dashboard": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "dashboard",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_dashboard_snapshot_url",
      "service": "new_relic",
      "name": "create_dashboard_snapshot_url",
      "description": "Generate a snapshot URL for a New Relic dashboard page GUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The dashboard page GUID."
          }
        },
        "additionalProperties": false,
        "required": [
          "guid"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "The generated dashboard snapshot URL.",
            "format": "uri"
          }
        },
        "additionalProperties": false,
        "required": [
          "url"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_deployment_marker",
      "service": "new_relic",
      "name": "create_deployment_marker",
      "description": "Create a New Relic change-tracking deployment marker for an entity GUID using NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "entityGuid": {
            "type": "string",
            "minLength": 1,
            "description": "The target entity GUID."
          },
          "version": {
            "type": "string",
            "minLength": 1,
            "description": "The deployment version identifier."
          },
          "user": {
            "type": "string",
            "description": "The deployment user or service principal."
          },
          "commit": {
            "type": "string",
            "description": "The deployment commit SHA or revision."
          },
          "groupId": {
            "type": "string",
            "description": "The logical deployment group identifier."
          },
          "deepLink": {
            "type": "string",
            "description": "A URL to the deployment details.",
            "format": "uri"
          },
          "changelog": {
            "type": "string",
            "description": "The deployment changelog text or URL."
          },
          "description": {
            "type": "string",
            "description": "The deployment description."
          },
          "timestamp": {
            "type": "integer",
            "description": "The deployment timestamp in Unix milliseconds."
          },
          "deploymentType": {
            "type": "string",
            "description": "The deployment strategy type."
          }
        },
        "additionalProperties": false,
        "required": [
          "entityGuid",
          "version"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployment": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployment"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_nrql_condition",
      "service": "new_relic",
      "name": "create_nrql_condition",
      "description": "Create a static or baseline NRQL alert condition for a policy using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "policyId": {
            "type": "integer",
            "minimum": 1,
            "description": "The alert policy ID."
          },
          "nrqlCondition": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "policyId",
          "nrqlCondition"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "nrqlCondition": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "nrqlCondition"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_secure_credential",
      "service": "new_relic",
      "name": "create_secure_credential",
      "description": "Create a New Relic synthetic secure credential using NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID that will own the secure credential."
          },
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "The secure credential key."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000,
            "description": "The secure credential value."
          },
          "description": {
            "type": "string",
            "description": "The optional secure credential description."
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "key",
          "value"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The secure credential key."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "key",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.create_synthetics_simple_monitor",
      "service": "new_relic",
      "name": "create_synthetics_simple_monitor",
      "description": "Create a New Relic ping monitor by using the syntheticsCreateSimpleMonitor mutation.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID that will own the monitor."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The monitor display name."
          },
          "uri": {
            "type": "string",
            "description": "The URL or endpoint to monitor.",
            "format": "uri"
          },
          "period": {
            "type": "string",
            "minLength": 1,
            "description": "The monitor execution period."
          },
          "status": {
            "type": "string",
            "minLength": 1,
            "description": "The monitor status."
          },
          "locations": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "advancedOptions": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "apdexTarget": {
            "type": "number",
            "description": "The ping monitor Apdex target in seconds."
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "name",
          "uri",
          "period",
          "status",
          "locations"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          },
          "monitor": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "A loose JSON object."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "errors",
          "monitor"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.delete_alert_policy",
      "service": "new_relic",
      "name": "delete_alert_policy",
      "description": "Delete a New Relic alert policy using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "policyId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          }
        },
        "additionalProperties": false,
        "required": [
          "policyId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedPolicyId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether the policy delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "deletedPolicyId",
          "deleted"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.delete_dashboard",
      "service": "new_relic",
      "name": "delete_dashboard",
      "description": "Delete a New Relic dashboard by its entity GUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The dashboard entity GUID."
          }
        },
        "additionalProperties": false,
        "required": [
          "guid"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The dashboard deletion status."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "status",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.delete_nrql_condition",
      "service": "new_relic",
      "name": "delete_nrql_condition",
      "description": "Delete a New Relic NRQL alert condition using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "conditionId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          }
        },
        "additionalProperties": false,
        "required": [
          "conditionId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedConditionId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether the NRQL condition delete request succeeded."
          }
        },
        "additionalProperties": false,
        "required": [
          "deletedConditionId",
          "deleted"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.delete_secure_credential",
      "service": "new_relic",
      "name": "delete_secure_credential",
      "description": "Delete a New Relic synthetic secure credential using NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID that owns the secure credential."
          },
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "The secure credential key."
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "key"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The deleted secure credential key."
          },
          "deleted": {
            "type": "boolean",
            "description": "Whether the secure credential delete request succeeded."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "key",
          "deleted",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.delete_synthetics_monitor",
      "service": "new_relic",
      "name": "delete_synthetics_monitor",
      "description": "Delete a synthetic monitor by GUID using the syntheticsDeleteMonitor mutation.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The synthetic monitor GUID."
          }
        },
        "additionalProperties": false,
        "required": [
          "guid"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deletedGuid": {
            "type": "string",
            "description": "The GUID of the deleted synthetic monitor."
          }
        },
        "additionalProperties": false,
        "required": [
          "deletedGuid"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.execute_nrql_query",
      "service": "new_relic",
      "name": "execute_nrql_query",
      "description": "Execute an NRQL query against a specific New Relic account and return the query results and metadata.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID to query."
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "The NRQL query string."
          },
          "timeout": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "The query timeout in seconds."
          },
          "asyncExecution": {
            "type": "boolean",
            "description": "Whether to request asynchronous execution."
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "query"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          },
          "metadata": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "otherResult": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "totalResult": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "queryProgress": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "results",
          "metadata",
          "otherResult",
          "totalResult",
          "queryProgress"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.get_alert_policies",
      "service": "new_relic",
      "name": "get_alert_policies",
      "description": "List New Relic alert policies with optional name, incident preference, and pagination filters using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The optional partial policy name filter."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based result page to fetch."
          },
          "incidentPreference": {
            "type": "string",
            "enum": [
              "PER_POLICY",
              "PER_CONDITION",
              "PER_CONDITION_AND_TARGET"
            ],
            "description": "The incident preference filter."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "policies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          }
        },
        "additionalProperties": false,
        "required": [
          "policies"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.get_current_user",
      "service": "new_relic",
      "name": "get_current_user",
      "description": "Validate the connected New Relic user key and return the current user profile from NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "user"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.get_dashboard_entity",
      "service": "new_relic",
      "name": "get_dashboard_entity",
      "description": "Read a New Relic dashboard entity, including its pages and widgets, by GUID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The dashboard entity GUID."
          }
        },
        "additionalProperties": false,
        "required": [
          "guid"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dashboard": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "dashboard"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.get_secure_credential",
      "service": "new_relic",
      "name": "get_secure_credential",
      "description": "Get a synthetic secure credential by key using NerdGraph entity search metadata only.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "description": "The secure credential key."
          }
        },
        "additionalProperties": false,
        "required": [
          "key"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "credential": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "A loose JSON object."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "credential"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.get_synth_monitor",
      "service": "new_relic",
      "name": "get_synth_monitor",
      "description": "Get a synthetic monitor by its legacy monitor ID or entity GUID using NerdGraph entity search.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "monitorId": {
            "type": "string",
            "description": "The legacy synthetic monitor ID."
          },
          "guid": {
            "type": "string",
            "description": "The synthetic monitor entity GUID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "monitor": {
            "anyOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "A loose JSON object."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "monitor"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.list_deployments",
      "service": "new_relic",
      "name": "list_deployments",
      "description": "List deployment markers for a legacy APM application by using the REST v2 deployments API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "applicationId": {
            "type": "integer",
            "minimum": 1,
            "description": "The APM application ID."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based result page to fetch."
          }
        },
        "additionalProperties": false,
        "required": [
          "applicationId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deployments": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          },
          "links": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "deployments",
          "links"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.list_monitors",
      "service": "new_relic",
      "name": "list_monitors",
      "description": "List synthetic monitors by using NerdGraph entity search over the SYNTH MONITOR entity type.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string",
            "description": "The entity search cursor for the next page."
          },
          "query": {
            "type": "string",
            "description": "An optional raw entity search query to further narrow the monitor set."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The effective entity search query."
          },
          "nextCursor": {
            "anyOf": [
              {
                "type": "string",
                "description": "The cursor for the next monitor page, when available."
              },
              {
                "type": "null"
              }
            ]
          },
          "monitors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          }
        },
        "additionalProperties": false,
        "required": [
          "query",
          "nextCursor",
          "monitors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.list_nrql_conditions",
      "service": "new_relic",
      "name": "list_nrql_conditions",
      "description": "List NRQL alert conditions for a specific alert policy using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "policyId": {
            "type": "integer",
            "minimum": 1,
            "description": "The alert policy ID."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The 1-based result page to fetch."
          }
        },
        "additionalProperties": false,
        "required": [
          "policyId"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "nrqlConditions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          }
        },
        "additionalProperties": false,
        "required": [
          "nrqlConditions"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.list_secure_credentials",
      "service": "new_relic",
      "name": "list_secure_credentials",
      "description": "List synthetic secure credentials by using NerdGraph entity search over the SYNTH SECURE_CRED entity type.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string",
            "description": "The entity search cursor for the next page."
          },
          "query": {
            "type": "string",
            "description": "An optional raw entity search query to further narrow the credential set."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The effective entity search query."
          },
          "nextCursor": {
            "anyOf": [
              {
                "type": "string",
                "description": "The cursor for the next credentials page, when available."
              },
              {
                "type": "null"
              }
            ]
          },
          "credentials": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          }
        },
        "additionalProperties": false,
        "required": [
          "query",
          "nextCursor",
          "credentials"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.search_entities",
      "service": "new_relic",
      "name": "search_entities",
      "description": "Search New Relic entities with either the raw entity search language or a structured query builder.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The raw entity search query."
          },
          "cursor": {
            "type": "string",
            "description": "The entity search cursor for the next page."
          },
          "queryBuilder": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "The effective search query sent to NerdGraph."
          },
          "nextCursor": {
            "anyOf": [
              {
                "type": "string",
                "description": "The cursor for the next search page, when available."
              },
              {
                "type": "null"
              }
            ]
          },
          "entities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "A list of loose JSON objects."
          }
        },
        "additionalProperties": false,
        "required": [
          "query",
          "nextCursor",
          "entities"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.update_alert_policy",
      "service": "new_relic",
      "name": "update_alert_policy",
      "description": "Update a New Relic alert policy name or incident preference using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "policyId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          },
          "policy": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "policyId",
          "policy"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "policy": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "policy"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.update_dashboard",
      "service": "new_relic",
      "name": "update_dashboard",
      "description": "Update a New Relic dashboard by GUID, replacing the dashboard configuration with the supplied pages and widgets.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The dashboard entity GUID."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The updated dashboard name."
          },
          "description": {
            "type": "string",
            "description": "The updated dashboard description."
          },
          "permissions": {
            "type": "string",
            "enum": [
              "PRIVATE",
              "PUBLIC_READ_ONLY",
              "PUBLIC_READ_WRITE"
            ],
            "description": "The updated dashboard permission setting."
          },
          "pages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A loose JSON object."
            },
            "description": "Dashboard page definitions.",
            "minItems": 1
          }
        },
        "additionalProperties": false,
        "required": [
          "guid",
          "name",
          "permissions",
          "pages"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "dashboard": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "dashboard",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.update_nrql_condition",
      "service": "new_relic",
      "name": "update_nrql_condition",
      "description": "Update a static or baseline NRQL alert condition using the REST alerts API.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "conditionId": {
            "anyOf": [
              {
                "type": "string",
                "description": "A string value."
              },
              {
                "type": "number",
                "description": "A numeric value."
              }
            ],
            "description": "A string or numeric value returned by New Relic."
          },
          "nrqlCondition": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "conditionId",
          "nrqlCondition"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "nrqlCondition": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "nrqlCondition"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.update_secure_credential",
      "service": "new_relic",
      "name": "update_secure_credential",
      "description": "Update a New Relic synthetic secure credential value or description using NerdGraph.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "integer",
            "minimum": 1,
            "description": "The account ID that owns the secure credential."
          },
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "The secure credential key."
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000,
            "description": "The updated secure credential value."
          },
          "description": {
            "type": "string",
            "description": "The updated secure credential description."
          }
        },
        "additionalProperties": false,
        "required": [
          "accountId",
          "key",
          "value"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "The secure credential key."
          },
          "createdAt": {
            "type": "string",
            "description": "The secure credential creation timestamp."
          },
          "lastUpdated": {
            "type": "string",
            "description": "The secure credential update timestamp."
          },
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "key",
          "createdAt",
          "lastUpdated",
          "errors"
        ],
        "description": "The output payload for this action."
      }
    },
    {
      "id": "new_relic.update_synthetics_simple_monitor",
      "service": "new_relic",
      "name": "update_synthetics_simple_monitor",
      "description": "Update a New Relic ping monitor by GUID using the syntheticsUpdateSimpleMonitor mutation.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "minLength": 1,
            "description": "The synthetic monitor GUID."
          },
          "monitor": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A loose JSON object."
          }
        },
        "additionalProperties": false,
        "required": [
          "guid",
          "monitor"
        ],
        "description": "The input payload for this action."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "errors": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "A loose JSON object."
                },
                "description": "New Relic GraphQL mutation errors."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "required": [
          "errors"
        ],
        "description": "The output payload for this action."
      }
    }
  ]
}
