zas_get_item
Fetch a single item from a Zas channel: notes return as text, files are written to disk without overwriting existing files. Returns the saved file path.
Instructions
Fetch one item from a Zas channel. A note comes back as text; a file is written to disk. Returns the path written; it can differ from dest when a file with that name already exists. Writes a new file under dest (or the system temp directory); it never overwrites an existing file. The owner sees every item this agent sends with the >_ agent mark and this agent's name, on every device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item id, as `zas_list_items` reports it. | |
| dest | No | Where to write a file. A directory means "inside it". Defaults to a fresh temporary directory. | |
| channel | Yes | Channel name or id. |