get_attachment
Retrieve a single OpenProject attachment by ID so local AI agents can access its file details for project workflows.
Instructions
Get a single attachment by id.
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": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | Yes | ||
| author | Yes | ||
| status | Yes | ||
| file_name | Yes | ||
| created_at | Yes | ||
| description | Yes | ||
| container_id | Yes | ||
| content_type | Yes | ||
| download_url | Yes | ||
| container_type | Yes | ||
| file_size_bytes | Yes |