getAttachmentContent
Get attachment content
Details
- Method:
GET - Path:
/rest/api/3/attachment/content/{id} - Operation ID:
getAttachmentContent
Parameters
{
"id": {
"description": "The ID of the attachment.",
"required": true,
"location": "path",
"type": "string"
},
"redirect": {
"description": "Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to `false` to avoid making multiple requests to download the attachment.",
"required": false,
"location": "query",
"type": "boolean"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getAttachmentContent', {
# Add required parameters here
})