跳到正文
所有工具

servicenow_update_incident

ServiceNow · macOS · Windows

效果: 写入. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

更新现有 ServiceNow 事件的字段——状态、优先级、分配。使用 servicenow_get_incident 返回的 sys_id。不带 confirm 调用时返回将要更改的字段的预览,不发送任何内容;传入 confirm=true 才会更新。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — macOS
{
  "properties": {
    "assigned_to": {
      "description": "Username or email to assign to",
      "type": "string"
    },
    "close_notes": {
      "description": "Resolution notes (required when state=6 or 7)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to send; without it nothing is sent and the call returns a preview of every field.",
      "type": "boolean"
    },
    "priority": {
      "description": "1=Critical, 2=High, 3=Moderate, 4=Low, 5=Planning",
      "type": "string"
    },
    "short_description": {
      "description": "Updated summary",
      "type": "string"
    },
    "state": {
      "description": "1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed",
      "type": "string"
    },
    "sys_id": {
      "description": "Incident sys_id from servicenow_get_incident",
      "type": "string"
    },
    "urgency": {
      "description": "1=Critical, 2=High, 3=Medium, 4=Low",
      "type": "string"
    }
  },
  "required": [
    "sys_id"
  ],
  "type": "object"
}

文档示例

servicenow_update_incident 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "confirm": false,
  "short_description": "Calendar search returns no events.",
  "sys_id": "0123456789abcdef0123456789abcdef"
}

Windows

用途

更新 ServiceNow 事件的字段——更改状态、优先级、分配或描述。使用 servicenow_get_incident 返回的 sys_id。不带 confirm=true 时不会发送任何内容:回答会预览 sys_id 以及每个要更改的字段。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — Windows
{
  "properties": {
    "assigned_to": {
      "description": "Username to assign to",
      "type": "string"
    },
    "close_notes": {
      "description": "Resolution notes (required when state=6 or 7)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to send. Without it nothing is sent and the answer previews every field.",
      "type": "boolean"
    },
    "priority": {
      "description": "1=Critical, 2=High, 3=Moderate, 4=Low",
      "type": "string"
    },
    "short_description": {
      "description": "Updated summary",
      "type": "string"
    },
    "state": {
      "description": "1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed",
      "type": "string"
    },
    "sys_id": {
      "description": "Incident sys_id from servicenow_get_incident",
      "type": "string"
    },
    "urgency": {
      "description": "1=Critical, 2=High, 3=Medium, 4=Low",
      "type": "string"
    }
  },
  "required": [
    "sys_id"
  ],
  "type": "object"
}

文档示例

servicenow_update_incident 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "confirm": false,
  "short_description": "Calendar search returns no events.",
  "sys_id": "0123456789abcdef0123456789abcdef"
}