Open Context Protocol is live! 🚀 Read the launch post
deleteRelatedWork

deleteRelatedWork

Delete related work

Details

  • Method: DELETE
  • Path: /rest/api/3/version/{versionId}/relatedwork/{relatedWorkId}
  • Operation ID: deleteRelatedWork

Parameters

{
  "versionId": {
    "description": "The ID of the version that the target related work belongs to.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "relatedWorkId": {
    "description": "The ID of the related work to delete.",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteRelatedWork', {
    # Add required parameters here
})