upload_attachment
Attach a screenshot or log file to a ZenTao bug as visual evidence, especially after a fix, so reviewers can verify the resolution.
Instructions
Upload a file (screenshot, log) and attach to a bug as visual evidence. Use after bug fix to provide screenshot proof.
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": {
"bugId": "<bugId>",
"filePath": "<filePath>"
},
"name": "upload_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bugId | Yes | Bug ID to attach to | |
| fileName | No | Optional display name (defaults to file basename) | |
| filePath | Yes | Absolute path to file on disk |