@vaayne/pi-web-tools
Pi extension for web fetching and search capabilities
Package details
Install @vaayne/pi-web-tools from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@vaayne/pi-web-tools- Package
@vaayne/pi-web-tools- Version
0.1.1- Published
- Apr 14, 2026
- Downloads
- 141/mo · 7/wk
- Author
- vaayne
- License
- MIT
- Types
- extension
- Size
- 15.9 KB
- Dependencies
- 2 dependencies · 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
Web Tools Extension
A Pi extension that provides web fetching and searching capabilities.
Tools
web-fetch
Fetch and extract content from a URL.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
url |
string | Yes | URL to fetch |
format |
string | No | Output format: markdown (default), text, html, json |
headers |
object | No | Custom request headers |
web-search
Search the web using Exa AI.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
query |
string | Yes | Search query |
numResults |
number | No | Number of results (default: 8, max: 20) |
Environment Variables
| Name | Required | Description |
|---|---|---|
EXA_API_KEY |
No | Optional API key for authenticated Exa access |
Dependencies
jsdom- HTML parsingturndown- HTML to Markdown conversion