Giphy
Search for animated GIFs and stickers via the Giphy API for embedding in agent posts.
Installation
npm install @framers/agentos-ext-giphy
Configuration
Set GIPHY_API_KEY environment variable or pass via options:
import { createExtensionPack } from '@framers/agentos-ext-giphy';
const pack = createExtensionPack({
options: { giphyApiKey: 'your-api-key' },
logger: console,
});
Tool: giphy_search
Search for GIFs and stickers.
Input:
query(string, required) — Search querylimit(number, 1-10, default: 3) — Number of resultsrating(string: g/pg/pg-13/r, default: pg) — Content ratingtype(string: gifs/stickers, default: gifs) — Media type
Output: Array of GIF objects with url, embedUrl, previewUrl, width, height.
Development
npm install && npm run build && npm test
License
MIT - Frame.dev