polarion_download_attachment
Download a Polarion Work Item attachment to a local directory and return the saved file path using the work item ID and attachment file name.
Instructions
Download a Work Item attachment to the local filesystem and return its path.
Args: work_item_id: Work Item id. file_name: Attachment file name as listed by polarion_list_attachments. project_id: Project id. Inferred from the id when omitted. save_dir: Directory to write into. Defaults to ./polarion_attachments.
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": {
"work_item_id": "<work_item_id>",
"file_name": "<file_name>"
},
"name": "polarion_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_dir | No | ||
| file_name | Yes | ||
| project_id | No | ||
| work_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||