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

removeCustomFieldContextFromProjects

Remove custom field context from projects

Details

  • Method: POST
  • Path: /rest/api/3/field/{fieldId}/context/{contextId}/project/remove
  • Operation ID: removeCustomFieldContextFromProjects

Parameters

{
  "fieldId": {
    "description": "The ID of the custom field.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "contextId": {
    "description": "The ID of the context.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "projectIds": {
    "description": "The IDs of projects.",
    "required": true,
    "location": "body",
    "type": "array"
  }
}

Response Schema

{}

Usage

from ocp_agent import OCPAgent

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

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