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

deleteCustomFieldOption

Delete custom field options (context)

Details

  • Method: DELETE
  • Path: /rest/api/3/field/{fieldId}/context/{contextId}/option/{optionId}
  • Operation ID: deleteCustomFieldOption

Parameters

{
  "fieldId": {
    "description": "The ID of the custom field.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "contextId": {
    "description": "The ID of the context from which an option should be deleted.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "optionId": {
    "description": "The ID of the option to delete.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Usage

from ocp_agent import OCPAgent

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

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