Xray Get Attachment
xray_get_attachmentDownload an Xray Cloud attachment or evidence file by ID. Text files return as text; others as base64.
Instructions
Download an attachment or evidence file; text files come back as text, others as base64.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attachment_id": "<attachment_id>"
},
"name": "xray_get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes | Attachment or evidence id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||