Attach evidence to a node
attachAttach a link (PR, preview deploy, issue, log, doc) to a node so the human can open it from the tree. The result also gives the one-line command to upload a screenshot (PNG/JPEG/WebP, up to 1.5 MB) to the same node; use it after you change anything visible.
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": {
"tree_id": "<tree_id>",
"url": "<url>"
},
"name": "attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) link. | |
| node | No | Node the evidence belongs to. Default "root". | |
| agent | No | Who you are. | |
| label | No | 2-5 words, e.g. "PR #1094" or "preview". | |
| tree_id | Yes | Tree id. |