attach_file
Upload a base64-encoded file to a Huly issue by specifying workspace, issue identifier, and filename; optionally set the MIME type.
Instructions
Attach a file to an issue (base64-encoded content)
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": {
"workspace": "<workspace>",
"identifier": "<identifier>",
"filename": "<filename>",
"contentBase64": "<contentBase64>"
},
"name": "attach_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | File name, e.g. "screenshot.png" | |
| mimeType | No | MIME type, e.g. "image/png" | application/octet-stream |
| workspace | Yes | ||
| identifier | Yes | Issue identifier to attach the file to, e.g. "PROJ-123" | |
| contentBase64 | Yes | File content, base64-encoded |