polarion_upload_attachment
Uploads a local file as an attachment to a Polarion Work Item, with optional dry-run validation and a 50 MB size limit.
Instructions
Upload a local file as an attachment to a Work Item. Requires write access.
Args: work_item_id: Work Item id. file_path: Absolute or relative path to an existing file (max 50 MB). project_id: Project id. Inferred from the id when omitted. dry_run: Validate the file and return the request without uploading.
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_path": "<file_path>"
},
"name": "polarion_upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_path | Yes | ||
| project_id | No | ||
| work_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||