pi-tinyfish

TinyFish Search and Fetch tools for Pi

Packages

Package details

extension

Install pi-tinyfish from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-tinyfish
Package
pi-tinyfish
Version
0.1.1
Published
May 15, 2026
Downloads
123/mo · 123/wk
Author
x1any
License
MIT
Types
extension
Size
19.1 KB
Dependencies
1 dependency · 3 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

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 as markdown, html, or json.

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-tinyfish

git

pi install git:github.com/x1any/pi-tinyfish

Development

bun install
bun test
bun run typecheck
bun run check

Notes

  • 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 maxBytes is set.