download_export
Download Reactome exports (SBML, SBGN, PDF, diagram images) to local disk and return the absolute file path, avoiding large payloads in chat.
Instructions
Stream a Reactome export to local disk and return the absolute path.
Use this for any non-trivial payload (full SBML/SBGN, PDF documents, large
diagram images) instead of pulling it into the chat.
Args:
stable_id: Event/diagram/reaction stable id; for `kind="fireworks"` a
species name or taxId.
kind: One of "event" (sbml/sbgn), "diagram" (png/jpg/gif/svg),
"document" (pdf), "reaction" (png/jpg/gif/svg), or "fireworks"
(png/jpg/gif/svg, species-level overview).
ext: File extension valid for the chosen `kind`.
save_dir: Local directory to save into; created if absent.
Returns:
Absolute path to the saved file, or a string starting with "ERROR:".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | No | sbml | |
| kind | No | event | |
| save_dir | No | ./reactome_downloads | |
| stable_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |