Open Context Protocol is live! 🚀 Read the launch post

getProjectEmail

Get project’s sender email

Details

  • Method: GET
  • Path: /rest/api/3/project/{projectId}/email
  • Operation ID: getProjectEmail

Parameters

{
  "projectId": {
    "description": "The project ID.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "A project's sender email address.",
  "properties": {
    "emailAddress": {
      "description": "The email address.",
      "type": "string"
    },
    "emailAddressStatus": {
      "description": "When using a custom domain, the status of the email address.",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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