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

getAttachmentMeta

Get Jira attachment settings

Details

  • Method: GET
  • Path: /rest/api/3/attachment/meta
  • Operation ID: getAttachmentMeta

Parameters

{}

Response Schema

{
  "additionalProperties": false,
  "description": "Details of the instance's attachment settings.",
  "properties": {
    "enabled": {
      "description": "Whether the ability to add attachments is enabled.",
      "readOnly": true,
      "type": "boolean"
    },
    "uploadLimit": {
      "description": "The maximum size of attachments permitted, in bytes.",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    }
  },
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

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

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