Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/tools/amazon-bestsellers/amazon-bestsellers-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ export class AmazonBestsellersTool extends Tool {
server.registerTool(
'amazon_bestsellers',
{
title: 'Amazon Bestsellers',
description: 'Scrape Amazon Bestsellers list with automatic parsing',
inputSchema: {
query: z.string().describe('Amazon category (e.g., "mobile-apps", "electronics")'),
domain: zodDomain,
pageFrom: zodPageFrom,
},
annotations: {
title: 'Amazon Bestsellers',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/amazon-pricing/amazon-pricing-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class AmazonPricingTool extends Tool {
server.registerTool(
'amazon_pricing',
{
title: 'Amazon Pricing',
description: 'Scrape Amazon Product pricing information with automatic parsing',
inputSchema: {
query: z.string().describe('Amazon product ASIN (e.g., "B09H74FXNW")'),
Expand All @@ -47,7 +48,9 @@ export class AmazonPricingTool extends Tool {
geo: zodGeo,
},
annotations: {
title: 'Amazon Pricing',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/amazon-product/amazon-product-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class AmazonProductTool extends Tool {
server.registerTool(
'amazon_product',
{
title: 'Amazon Product',
description: 'Scrape Amazon Product page with automatic parsing',
inputSchema: {
query: z.string().describe('Amazon product ASIN (e.g., "B09H74FXNW")'),
Expand All @@ -41,7 +42,9 @@ export class AmazonProductTool extends Tool {
geo: zodGeo,
},
annotations: {
title: 'Amazon Product',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/amazon-search/amazon-search-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class AmazonSearchTool extends Tool {
server.registerTool(
'amazon_search',
{
title: 'Amazon Search',
description: 'Scrape Amazon Search results with automatic parsing',
inputSchema: {
query: z.string().describe('Search query for Amazon products (e.g., "wireless keyboard")'),
Expand All @@ -42,7 +43,9 @@ export class AmazonSearchTool extends Tool {
pageFrom: zodPageFrom,
},
annotations: {
title: 'Amazon Search',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/amazon-sellers/amazon-sellers-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class AmazonSellersTool extends Tool {
server.registerTool(
'amazon_sellers',
{
title: 'Amazon Sellers',
description: 'Scrape Amazon Seller information with automatic parsing',
inputSchema: {
query: z.string().describe('Amazon seller ID (e.g., "A1R0Z7FJGTKESH")'),
Expand All @@ -35,7 +36,9 @@ export class AmazonSellersTool extends Tool {
geo: zodGeo,
},
annotations: {
title: 'Amazon Sellers',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/bing-search/bing-search-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class BingSearchTool extends Tool {
server.registerTool(
'bing_search',
{
title: 'Bing Search',
description: 'Scrape Bing Search results with automatic parsing',
inputSchema: {
query: z.string().describe('Search query for Bing (e.g., "laptop")'),
Expand All @@ -43,7 +44,9 @@ export class BingSearchTool extends Tool {
pageFrom: zodPageFrom,
},
annotations: {
title: 'Bing Search',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/chatgpt/chatgpt-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ export class ChatGPTTool extends Tool {
server.registerTool(
'chatgpt',
{
title: 'ChatGPT',
description: 'Search and interact with ChatGPT for AI-powered responses and conversations',
inputSchema: {
prompt: z.string().describe('Prompt to send to ChatGPT'),
search: z.boolean().describe("Activates ChatGPT's web search functionality").optional(),
geo: zodGeo,
},
annotations: {
title: 'ChatGPT',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/google-ads/google-ads-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class GoogleAdsTool extends Tool {
server.registerTool(
'google_ads',
{
title: 'Google Ads',
description: 'Scrape Google Ads search results with automatic parsing',
inputSchema: {
query: z.string().describe('Search query for Google Ads (e.g., "laptop")'),
Expand All @@ -38,7 +39,9 @@ export class GoogleAdsTool extends Tool {
pageFrom: zodPageFrom,
},
annotations: {
title: 'Google Ads',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/google-ai-mode/google-ai-mode-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class GoogleAiModeTool extends Tool {
server.registerTool(
'google_ai_mode',
{
title: 'Google AI Mode',
description: 'Scrape Google AI Mode (Search with AI) results with automatic parsing',
inputSchema: {
query: z
Expand All @@ -34,7 +35,9 @@ export class GoogleAiModeTool extends Tool {
deviceType: zodDeviceType,
},
annotations: {
title: 'Google AI Mode',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/google-lens/google-lens-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ export class GoogleLensTool extends Tool {
server.registerTool(
'google_lens',
{
title: 'Google Lens',
description: 'Scrape Google Lens image search results with automatic parsing',
inputSchema: {
query: z.string().describe('Image URL for Google Lens search (e.g., "https://example.com/image.jpg")'),
jsRender: zodJsRender,
deviceType: zodDeviceType,
},
annotations: {
title: 'Google Lens',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/google-search/google-search-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class GoogleSearchTool extends Tool {
server.registerTool(
'google_search',
{
title: 'Google Search',
description: 'Scrape Google Search results with automatic parsing',
inputSchema: {
query: z.string().describe('Search query'),
Expand All @@ -38,7 +39,9 @@ export class GoogleSearchTool extends Tool {
jsRender: zodJsRender,
},
annotations: {
title: 'Google Search',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/google-travel-hotels/google-travel-hotels-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class GoogleTravelHotelsTool extends Tool {
server.registerTool(
'google_travel_hotels',
{
title: 'Google Travel Hotels',
description: 'Scrape Google Travel Hotels search results',
inputSchema: {
query: z.string().describe('Hotel search query (e.g., "trivago", "hotels in Paris")'),
Expand All @@ -31,7 +32,9 @@ export class GoogleTravelHotelsTool extends Tool {
pageFrom: zodPageFrom,
},
annotations: {
title: 'Google Travel Hotels',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/perplexity/perplexity-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@ export class PerplexityTool extends Tool {
server.registerTool(
'perplexity',
{
title: 'Perplexity',
description:
'Search and interact with Perplexity for AI-powered responses and conversations',
inputSchema: {
prompt: z.string().describe('Prompt to send to Perplexity'),
geo: zodGeo,
},
annotations: {
title: 'Perplexity',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/reddit-post/reddit-post-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class RedditPostTool extends Tool {
server.registerTool(
'reddit_post',
{
title: 'Reddit Post',
description: 'Scrape a specific Reddit post',
inputSchema: {
url: z
Expand All @@ -31,7 +32,9 @@ export class RedditPostTool extends Tool {
),
},
annotations: {
title: 'Reddit Post',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/reddit-subreddit/reddit-subreddit-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ export class RedditSubredditTool extends Tool {
server.registerTool(
'reddit_subreddit',
{
title: 'Reddit Subreddit',
description: 'Scrape Reddit subreddit results with automatic parsing',
inputSchema: {
url: z.string().describe('URL to subreddit'),
},
annotations: {
title: 'Reddit Subreddit',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/reddit-user/reddit-user-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ export class RedditUserTool extends Tool {
server.registerTool(
'reddit_user',
{
title: 'Reddit User',
description: 'Scrape a Reddit user profile and their posts/comments',
inputSchema: {
url: z
.string()
.describe('Reddit user profile URL (eg. https://www.reddit.com/user/IWasRightOnce/)'),
},
annotations: {
title: 'Reddit User',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/scrape-as-markdown/scrape-as-markdown-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export class ScrapeAsMarkdownTool extends Tool {
server.registerTool(
'scrape_as_markdown',
{
title: 'Scrape as Markdown',
description: 'Scrape the contents of a website and return Markdown-formatted results',
inputSchema: {
url: z.string().describe('URL to scrape'),
Expand All @@ -53,7 +54,9 @@ export class ScrapeAsMarkdownTool extends Tool {
tokenLimit: zodTokenLimit,
},
annotations: {
title: 'Scrape as Markdown',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/screenshot/screenshot-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ export class ScreenshotTool extends Tool {
server.registerTool(
'screenshot',
{
title: 'Screenshot',
description: 'Capture a screenshot of any webpage and return it as a PNG image',
inputSchema: {
url: z.string().describe('URL to screenshot'),
geo: zodGeo,
},
annotations: {
title: 'Screenshot',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/target-product/target-product-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class TargetProductTool extends Tool {
server.registerTool(
'target_product',
{
title: 'Target Product',
description: 'Scrape Target Product page with automatic parsing',
inputSchema: {
product_id: z.string().describe('Target product ID (e.g., "1003921355")'),
Expand All @@ -27,7 +28,9 @@ export class TargetProductTool extends Tool {
deliveryZip: zodDeliveryZip,
},
annotations: {
title: 'Target Product',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/target-search/target-search-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class TargetSearchTool extends Tool {
server.registerTool(
'target_search',
{
title: 'Target Search',
description: 'Scrape Target Search results with automatic parsing',
inputSchema: {
query: z.string().describe('Search query for Target products'),
Expand All @@ -33,7 +34,9 @@ export class TargetSearchTool extends Tool {
deliveryZip: zodDeliveryZip,
},
annotations: {
title: 'Target Search',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/tiktok-post/tiktok-post-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class TiktokPostTool extends Tool {
server.registerTool(
'tiktok_post',
{
title: 'TikTok Post',
description:
'Scrape a TikTok post URL for structured data such as engagement, captions, and hashtags',
inputSchema: {
Expand All @@ -26,7 +27,9 @@ export class TiktokPostTool extends Tool {
xhr: zodXhr,
},
annotations: {
title: 'TikTok Post',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
3 changes: 3 additions & 0 deletions src/tools/tiktok-shop-product/tiktok-shop-product-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export class TiktokShopProductTool extends Tool {
server.registerTool(
'tiktok_shop_product',
{
title: 'TikTok Shop Product',
description: 'Scrape TikTok Shop Product page',
inputSchema: {
product_id: z.string().describe('TikTok Shop product ID (e.g., "1731541214379741272")'),
Expand All @@ -25,7 +26,9 @@ export class TiktokShopProductTool extends Tool {
country: zodCountry,
},
annotations: {
title: 'TikTok Shop Product',
readOnlyHint: true,
destructiveHint: false,
openWorldHint: true,
},
},
Expand Down
Loading
Loading