install_opencode_plugin
Installs the gif-as-mp4 OpenCode plugin and optional read tool into target directories, enabling GIFs to be processed as video/mp4 by AI models while preserving motion.
Instructions
Install the bundled gif-as-mp4 OpenCode plugin (.mjs or .ts).
Copies the plugin into /plugins and, unless disabled, the portable read tool into /tools/read.ts, so GIFs ride to models labeled video/mp4 and motion survives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| target_dir | No | ||
| plugin_format | No | mjs | |
| include_read_tool | No |