Attach File
attach_fileAttach a ChatGPT-provided file or an authorized local file to a Zotero item using its item key, so the file is stored alongside the reference.
Instructions
Attach a ChatGPT file input or an authorized local file to an item.
Args: item_key: The Zotero item key to attach the file to file: File object supplied by ChatGPT through openai/fileParams file_path: Local server path; stdio only unless HTTP roots are explicitly enabled
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| item_key | Yes | ||
| file_path | No | ||
| library_id | No | ||
| library_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |