arcade-mcp/toolkits/pagerduty_api/arcade_pagerduty_api/wrapper_tools/FetchRecentPausedIncidentAlerts.json
jottakka 8b4d6b773b
[MOAR][PAGERDUTY] Adding PagerDuty Tools (#609)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-13 15:10:26 -03:00

271 lines
8.8 KiB
JSON

{
"name": "FetchRecentPausedIncidentAlerts",
"fully_qualified_name": "PagerdutyApi.FetchRecentPausedIncidentAlerts@0.1.0",
"description": "Fetch recent paused and resolved incident alerts.\n\nThis tool retrieves the five most recent alerts triggered and resolved after being paused within a specified reporting period of up to 6 months. It's available with the Event Intelligence package or Digital Operations plan.",
"toolkit": {
"name": "ArcadePagerdutyApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "accept_header_version",
"required": true,
"description": "The version of the API to use, specified by the `Accept` header. Used for versioning control.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The `Accept` header is used as a versioning header."
},
"inferrable": true,
"http_endpoint_parameter_name": "Accept"
},
{
"name": "content_type",
"required": true,
"description": "Set this to 'application/json' to specify the format of the request content.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"application/json"
],
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "Content-Type"
},
{
"name": "start_date_range",
"required": false,
"description": "The start date for the search range in ISO 8601 format (YYYY-MM-DD).",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The start of the date range over which you want to search."
},
"inferrable": true,
"http_endpoint_parameter_name": "since"
},
{
"name": "end_date",
"required": false,
"description": "Specifies the end date for the search range to look up paused incident alerts. The format should be in ISO 8601 (YYYY-MM-DD).",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The end of the date range over which you want to search."
},
"inferrable": true,
"http_endpoint_parameter_name": "until"
},
{
"name": "filter_by_service_id",
"required": false,
"description": "Provide a specific service ID to limit report scope to that service.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Specifies a filter to limit the scope of reporting to a particular service"
},
"inferrable": true,
"http_endpoint_parameter_name": "service_id"
},
{
"name": "filter_by_suspension_method",
"required": false,
"description": "Filter alerts by suspension method: 'Auto Pause' or 'Event Rules'.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Specifies a filter to scope the response to either alerts suspended by Auto Pause or Event Rules."
},
"inferrable": true,
"http_endpoint_parameter_name": "suspended_by"
}
]
},
"output": {
"description": "Response from the API endpoint 'getPausedIncidentReportAlerts'.",
"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": {
"provider_id": "arcade-pagerduty",
"provider_type": "oauth2",
"id": null,
"oauth2": null
},
"secrets": null,
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.0.0",
"description": "Tools that enable LLMs to interact directly with the Pagerduty API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.0.0",
"description": ""
},
"url": "https://api.pagerduty.com/paused_incident_reports/alerts",
"http_method": "GET",
"headers": {},
"parameters": [
{
"name": "since",
"tool_parameter_name": "start_date_range",
"description": "The start of the date range over which you want to search.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The start of the date range over which you want to search."
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "until",
"tool_parameter_name": "end_date",
"description": "The end of the date range over which you want to search.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The end of the date range over which you want to search."
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "service_id",
"tool_parameter_name": "filter_by_service_id",
"description": "Specifies a filter to limit the scope of reporting to a particular service",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Specifies a filter to limit the scope of reporting to a particular service"
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "suspended_by",
"tool_parameter_name": "filter_by_suspension_method",
"description": "Specifies a filter to scope the response to either alerts suspended by Auto Pause or Event Rules.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Specifies a filter to scope the response to either alerts suspended by Auto Pause or Event Rules."
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "Accept",
"tool_parameter_name": "accept_header_version",
"description": "The `Accept` header is used as a versioning header.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The `Accept` header is used as a versioning header."
},
"accepted_as": "header",
"required": true,
"deprecated": false,
"default": "application/vnd.pagerduty+json;version=2",
"documentation_urls": []
},
{
"name": "Content-Type",
"tool_parameter_name": "content_type",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"application/json"
],
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "header",
"required": true,
"deprecated": false,
"default": "application/json",
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
]
}
}