pi-tinyfish
v0.1.1
Published
TinyFish Search and Fetch tools for Pi
Maintainers
Readme
pi-tinyfish
Pi package that adds TinyFish Search and Fetch tools using @tiny-fish/sdk.
Tools
tinyfish_search— web search with ranked titles, snippets, and URLs.tinyfish_fetch— render/fetch up to 10 URLs and return extracted content asmarkdown,html, orjson.
Both tools read the API key from the standard TinyFish environment variable:
export TINYFISH_API_KEY="your_api_key_here"Install
npm
pi install npm:pi-tinyfishgit
pi install git:github.com/x1any/pi-tinyfishDevelopment
bun install
bun test
bun run typecheck
bun run checkNotes
- TinyFish Search latency is typically 1–3s; the tool defaults to a 10s timeout.
- TinyFish Fetch can take longer; the tool defaults to a 150s timeout as recommended by TinyFish docs.
- Tool output is truncated to Pi's default 50KB limit unless
maxBytesis set.
