delete_workitem_relation_record
Removes a specified relationship between two work items, such as parent, child, associated, dependent, or supporting links, to correct or clean up inaccurate associations.
Instructions
[Project Management] Delete a relation between work items. Removes the specified relationship (parent, child, associated, dependent, or supporting) between work items.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"workItemId": "<workItemId>",
"relationType": "<relationType>",
"relatedWorkitemId": "<relatedWorkitemId>"
},
"name": "delete_workitem_relation_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workItemId | Yes | 工作项唯一标识 | |
| relationType | Yes | 关联类型,PARENT-父项,SUB-子项,ASSOCIATED-关联项,DEPEND_ON-依赖项,DEPENDED_BY-支撑项 | |
| organizationId | Yes | 企业ID,可在组织管理后台的基本信息页面获取 | |
| relatedWorkitemId | Yes | 要删除关联的工作项ID |