ScaledPapers
Uptime checks, status pages, incidents, and maintenance for websites, APIs, DNS, and TCP.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 update_component 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"scaledpapers": {
"url": "https://api.scaledpapers.com/mcp"
}
}
}遠端端點
https://api.scaledpapers.com/mcpstreamable-http它能做什麼
工具清單
工具(34)
🟢usage
Plan caps for this workspace: plan, period, probe_count, monthly_probe_quota, endpoints_used, max_endpoints, max_regions, min_interval_seconds, sample_retention_days, max_status_pages. Call this before creating anything. Stop when a cap is reached.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "usageArguments"
}🟢list_regions
Enabled probe regions: id, name, and region.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_regionsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_regionsOutput"
}🟢list_checks
Checks in this workspace. Use this before create_check so you do not add a second check for a URL that is already watched.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_checksArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_checksOutput"
}🟢get_check(endpoint_id)
One check, including assertion, DNS, and TCP fields. Secrets such as request headers, request body, and HTTP auth are not returned.
輸入結構描述
{
"type": "object",
"properties": {
"endpoint_id": {
"title": "Endpoint Id",
"type": "string"
}
},
"required": [
"endpoint_id"
],
"title": "get_checkArguments"
}🟢get_check_results(endpoint_id, view, hours)
Check results. view is status, history, or outages. history uses hours (default 24) and returns status, status_code, latency_ms, dns_ms, connect_ms, location_name, location_region, and observed_at. Sample metadata is omitted.
輸入結構描述
{
"type": "object",
"properties": {
"endpoint_id": {
"title": "Endpoint Id",
"type": "string"
},
"view": {
"title": "View",
"type": "string"
},
"hours": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Hours"
}
},
"required": [
"endpoint_id",
"view"
],
"title": "get_check_resultsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"items": {},
"type": "array"
}
],
"title": "Result"
}
},
"required": [
"result"
],
"title": "get_check_resultsOutput"
}🟡create_check(name, target, kind, port, regions, ...)
Create a check. kind is http, api, dns, or tcp. Defaults: GET, status 200, 10s timeout, email alerts on, interval_seconds from the plan minimum, and one region. DNS defaults to an A record over UDP. TCP requires port. Pass regions only when you want more than the default, and only within max_regions from usage. Request headers, request body, and HTTP auth stay in the console. To link a status page, pass site_id, site_slug, and component_id together.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"target": {
"title": "Target",
"type": "string"
},
"kind": {
"title": "Kind",
"type": "string"
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Port"
},
"regions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Regions"
},
"interval_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Interval Seconds"
},
"http_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Http Method"
},
"expected_status_codes": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Status Codes"
},
"body_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body Contains"
},
"timeout_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Timeout Seconds"
},
"follow_redirects": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Follow Redirects"
},
"verify_ssl": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Verify Ssl"
},
"dns_record_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Record Type"
},
"dns_protocol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Protocol"
},
"dns_server": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Server"
},
"dns_expected_values": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Expected Values"
},
"tcp_ip_family": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Ip Family"
},
"tcp_payload": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Payload"
},
"tcp_expected_outcome": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Expected Outcome"
},
"alert_email_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Email Enabled"
},
"alert_incident_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Incident Enabled"
},
"incident_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Incident Mode"
},
"incident_auto_resolve": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Incident Auto Resolve"
},
"display_metrics": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Display Metrics"
},
"alert_destination_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Destination Ids"
},
"component_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Id"
},
"site_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Id"
},
"site_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Slug"
}
},
"required": [
"name",
"target",
"kind"
],
"title": "create_checkArguments"
}🟡update_check(endpoint_id, name, target, enabled, interval_seconds, ...)
Update a check. Pass only the fields to change. enabled false pauses and true resumes. Linking requires site_id, site_slug, and component_id together, plus optional incident_mode (off, auto, or review: review stores a draft a person approves before it is published), incident_auto_resolve, and display_metrics. Request headers, request body, and HTTP auth stay in the console.
輸入結構描述
{
"type": "object",
"properties": {
"endpoint_id": {
"title": "Endpoint Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Target"
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Enabled"
},
"interval_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Interval Seconds"
},
"regions": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Regions"
},
"http_method": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Http Method"
},
"expected_status_codes": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Expected Status Codes"
},
"body_contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body Contains"
},
"timeout_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Timeout Seconds"
},
"follow_redirects": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Follow Redirects"
},
"verify_ssl": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Verify Ssl"
},
"dns_record_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Record Type"
},
"dns_protocol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Protocol"
},
"dns_server": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Server"
},
"dns_expected_values": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Dns Expected Values"
},
"port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Port"
},
"tcp_ip_family": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Ip Family"
},
"tcp_payload": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Payload"
},
"tcp_expected_outcome": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tcp Expected Outcome"
},
"alert_email_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Email Enabled"
},
"alert_incident_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Incident Enabled"
},
"incident_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Incident Mode"
},
"incident_auto_resolve": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Incident Auto Resolve"
},
"display_metrics": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Display Metrics"
},
"alert_destination_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Alert Destination Ids"
},
"component_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Id"
},
"site_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Id"
},
"site_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Slug"
}
},
"required": [
"endpoint_id"
],
"title": "update_checkArguments"
}🔴delete_check(endpoint_id)
Delete a check. Run only when the user asked to delete this check in this conversation.
輸入結構描述
{
"type": "object",
"properties": {
"endpoint_id": {
"title": "Endpoint Id",
"type": "string"
}
},
"required": [
"endpoint_id"
],
"title": "delete_checkArguments"
}🟢run_check(endpoint_id)
Queue a probe for one check. Returns job_id. Call get_check_results with view status for the result; it is not included here.
輸入結構描述
{
"type": "object",
"properties": {
"endpoint_id": {
"title": "Endpoint Id",
"type": "string"
}
},
"required": [
"endpoint_id"
],
"title": "run_checkArguments"
}🟢list_status_pages
Status pages in this workspace: slug, name, visibility, publicUrl, custom domain, and the worst open incident status.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_status_pagesArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_status_pagesOutput"
}🟢get_status_page(slug)
One status page: components with ids, groups, incidents with public ids, Slack connection state, and alert-destination ids. has_password is returned; the password is not.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
}
},
"required": [
"slug"
],
"title": "get_status_pageArguments"
}🟡create_status_page(name, slug, endpoint_ids, visibility, password, ...)
Create a public status page. visibility internal requires Pro and a password of at least 8 characters that the user typed; never invent a password or repeat it. custom_domain is a hostname such as status.acme.com and requires Pro. With endpoint_ids, each check becomes a component linked to the page with incidents and latency enabled. Returns slug, publicUrl, component ids, and linked check ids. If a later step fails, the new page is deleted.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"slug": {
"title": "Slug",
"type": "string"
},
"endpoint_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Endpoint Ids"
},
"visibility": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Visibility"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"custom_domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Custom Domain"
}
},
"required": [
"name",
"slug"
],
"title": "create_status_pageArguments"
}🟡update_status_page(slug, name, url, visibility, password, ...)
Update a status page. Fields: name, url, visibility, password, custom_domain, show_auto_detected (label incidents a check opened itself as detected automatically). custom_domain null removes it. visibility internal needs a password of at least 8 characters that the user typed. Never invent a password or repeat it.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"visibility": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Visibility"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"custom_domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Custom Domain"
},
"show_auto_detected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Show Auto Detected"
}
},
"required": [
"slug"
],
"title": "update_status_pageArguments"
}🔴delete_status_page(slug)
Delete a status page and its components. Run only when the user asked to delete this page in this conversation.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
}
},
"required": [
"slug"
],
"title": "delete_status_pageArguments"
}🟢verify_custom_domain(slug)
Check the CNAME and TXT records for a status page custom domain.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
}
},
"required": [
"slug"
],
"title": "verify_custom_domainArguments"
}🟡create_component(slug, name, url)
Add a component to an existing status page. Returns its id so update_check can link a check to it.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"slug",
"name"
],
"title": "create_component_toolArguments"
}🟡update_component(slug, component_id, name, url)
Rename a component or change its URL.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"component_id": {
"title": "Component Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
}
},
"required": [
"slug",
"component_id"
],
"title": "update_componentArguments"
}🔴delete_component(slug, component_id)
Delete a component. Run only when the user asked to delete this component in this conversation.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"component_id": {
"title": "Component Id",
"type": "string"
}
},
"required": [
"slug",
"component_id"
],
"title": "delete_component_toolArguments"
}🔴manage_component_group(slug, action, group_id, name)
Create, update, or delete a component group. action is create, update, or delete. create and update need name. update and delete need group_id. Delete only when the user asked.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"action": {
"title": "Action",
"type": "string"
},
"group_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Group Id"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
}
},
"required": [
"slug",
"action"
],
"title": "manage_component_groupArguments"
}🔴slack_connection(slug, action)
Slack connection for a status page. action start returns a URL for the user to open; do not complete OAuth. action disconnect removes the connection. Disconnect only when the user asked. Connection state is on get_status_page.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"action": {
"title": "Action",
"type": "string"
}
},
"required": [
"slug",
"action"
],
"title": "slack_connectionArguments"
}🟢page_alert_destinations(slug, destination_ids)
Replace the alert destinations attached to a status page with these existing destination ids. Use list_alert_destinations for the ids. An empty list detaches all of them.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"destination_ids": {
"items": {
"type": "string"
},
"title": "Destination Ids",
"type": "array"
}
},
"required": [
"slug",
"destination_ids"
],
"title": "page_alert_destinationsArguments"
}🟢list_incident_proposals(slug)
Drafts waiting for review from checks in incident_mode review, pending first. Approving one publishes it as a status incident.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
}
},
"required": [
"slug"
],
"title": "list_incident_proposals_toolArguments"
}🔴approve_incident_proposal(slug, proposal_id, title, body, impact)
Publish a pending review draft as a status incident. This emails subscribers and posts to Slack. Run only when the user asked to publish it in this conversation. Optional title, body, and impact (minor, major, or critical) replace the draft text.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"proposal_id": {
"title": "Proposal Id",
"type": "string"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"impact": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Impact"
}
},
"required": [
"slug",
"proposal_id"
],
"title": "approve_incident_proposal_toolArguments"
}⚪dismiss_incident_proposal(slug, proposal_id)
Dismiss a pending review draft. Nothing is published.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"proposal_id": {
"title": "Proposal Id",
"type": "string"
}
},
"required": [
"slug",
"proposal_id"
],
"title": "dismiss_incident_proposal_toolArguments"
}🔴create_incident(slug, title, body, status, impact, ...)
Open an incident. This emails subscribers and posts to Slack the same way the console does. Run only when the user asked to publish this incident in this conversation. status is investigating, identified, monitoring, or resolved. impact is minor, major, or critical. component_ids are component public ids. opened_at with resolved_at backfills a past incident.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
},
"body": {
"title": "Body",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"impact": {
"title": "Impact",
"type": "string"
},
"component_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Ids"
},
"opened_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Opened At"
},
"resolved_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Resolved At"
}
},
"required": [
"slug",
"title",
"body",
"status",
"impact"
],
"title": "create_incident_toolArguments"
}🟢get_incident(slug, public_id)
One incident, including updates newest first.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"public_id": {
"title": "Public Id",
"type": "string"
}
},
"required": [
"slug",
"public_id"
],
"title": "get_incident_toolArguments"
}🔴update_incident(slug, public_id, title, body, status, ...)
Edit an incident. This can email subscribers and post to Slack. Run only when the user asked. With update_id and update_body, rewrite that posted update's message (no new notification). Never invent a status the user did not ask for.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"public_id": {
"title": "Public Id",
"type": "string"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Title"
},
"body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Body"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Status"
},
"impact": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Impact"
},
"component_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Ids"
},
"update_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Update Id"
},
"update_body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Update Body"
}
},
"required": [
"slug",
"public_id"
],
"title": "update_incidentArguments"
}🔴post_incident_update(slug, public_id, status, body)
Post an incident update. This emails subscribers and posts to Slack. Run only when the user asked to publish this update in this conversation. status resolved closes the incident.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"title": "Slug",
"type": "string"
},
"public_id": {
"title": "Public Id",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"body": {
"title": "Body",
"type": "string"
}
},
"required": [
"slug",
"public_id",
"status",
"body"
],
"title": "post_incident_updateArguments"
}🟢list_maintenance_windows
Maintenance windows: id, name, starts_at, duration_seconds, timezone, recurrence, weekdays, ends_at, notify_subscribers, and items.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_maintenance_windowsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_maintenance_windowsOutput"
}🔴create_maintenance_window(name, starts_at, duration_seconds, timezone, endpoint_ids, ...)
Schedule a maintenance window. duration_seconds is 60 through 7 days. Pass both the check (endpoint_ids) and its public component (status_components) so probes pause and the page shows Under maintenance. notify_subscribers defaults to false. Set it true only when the user asked to email subscribers. This can email subscribers, so run only when the user asked to schedule this window.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"starts_at": {
"title": "Starts At",
"type": "string"
},
"duration_seconds": {
"title": "Duration Seconds",
"type": "integer"
},
"timezone": {
"title": "Timezone",
"type": "string"
},
"endpoint_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Endpoint Ids"
},
"status_components": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/StatusComponentArg"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Status Components"
},
"weekdays": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Weekdays"
},
"notify_subscribers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Notify Subscribers"
}
},
"required": [
"name",
"starts_at",
"duration_seconds",
"timezone"
],
"$defs": {
"StatusComponentArg": {
"properties": {
"site_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Slug"
},
"component_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Id"
},
"component_public_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Public Id"
}
},
"title": "StatusComponentArg",
"type": "object"
}
},
"title": "create_maintenance_windowArguments"
}🔴update_maintenance_window(window_id, name, starts_at, duration_seconds, timezone, ...)
Update a maintenance window. notify_subscribers defaults to false unless you set it. This can email subscribers. Run only when the user asked to change this window.
輸入結構描述
{
"type": "object",
"properties": {
"window_id": {
"title": "Window Id",
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"starts_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Starts At"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Duration Seconds"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Timezone"
},
"weekdays": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Weekdays"
},
"endpoint_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Endpoint Ids"
},
"status_components": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/StatusComponentArg"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Status Components"
},
"notify_subscribers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Notify Subscribers"
}
},
"required": [
"window_id"
],
"$defs": {
"StatusComponentArg": {
"properties": {
"site_slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Slug"
},
"component_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Id"
},
"component_public_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Component Public Id"
}
},
"title": "StatusComponentArg",
"type": "object"
}
},
"title": "update_maintenance_windowArguments"
}🔴cancel_maintenance_window(window_id, notify_subscribers)
Cancel a maintenance window. notify_subscribers defaults to false. This can email subscribers. Run only when the user asked to cancel this window in this conversation.
輸入結構描述
{
"type": "object",
"properties": {
"window_id": {
"title": "Window Id",
"type": "string"
},
"notify_subscribers": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Notify Subscribers"
}
},
"required": [
"window_id"
],
"title": "cancel_maintenance_windowArguments"
}🟢list_alert_destinations
Existing alert destinations: id, kind, name, and hint. Secrets are not returned. Creating a destination stays in the console.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "list_alert_destinations_toolArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_alert_destinations_toolOutput"
}🟡test_alert_destination(destination_id)
Send a real test alert to an existing destination. Run only when the user asked to send the test.
輸入結構描述
{
"type": "object",
"properties": {
"destination_id": {
"title": "Destination Id",
"type": "string"
}
},
"required": [
"destination_id"
],
"title": "test_alert_destination_toolArguments"
}社群
證據