所有工具

servicenow_update_incident

ServiceNow · macOS · Windows

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

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

macOS

用途

更新现有 ServiceNow 事件的字段——状态、优先级、分配。使用 servicenow_get_incident 返回的 sys_id。

必填输入

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

权限与确认

架构未声明明确的确认参数。这并不代表可以未经许可操作;请检查效果并取得授权。

英文规范技术架构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"
    },
    "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 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

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

Windows

用途

更新 ServiceNow 事件的字段——更改状态、优先级、分配或描述。使用 servicenow_get_incident 返回的 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"
    },
    "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 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

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