attach_files
Attach local screenshots, images, or PDFs to a comment by providing its number and file paths, so reviewers can see before/after evidence.
Instructions
Attach screenshots, images or PDFs (local file paths) to a comment, e.g. before/after shots of what you changed.
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": {
"id": "<id>",
"files": "<files>"
},
"name": "attach_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The comment number, as shown: 12. | |
| files | Yes | Paths to local files (absolute, or relative to the current folder). |