erpnext_download_taiga_attachment
Downloads a Taiga task attachment to local disk from its URL or attachment ID, returning the saved file path and a text preview for text-like files.
Instructions
Download a Taiga task attachment to local disk. Provide the attachment url (from erpnext_get_taiga_tasks) or a numeric attachment_id. Returns the saved file path and — for text-like files — a content preview.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "erpnext_download_taiga_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Attachment download URL (from a task's attachments list). | |
| filename | No | Optional filename to save as. | |
| save_dir | No | Directory to save into. Default: OS temp/devflow-attachments/taiga. | |
| attachment_id | No | Numeric attachment id (used to resolve the url when url is not given). | |
| preview_chars | No | Max characters of text preview (default: 4000). | |
| include_text_preview | No | For text-like files, include a content preview (default: true). |