bittensor_scrape
Extract web content from URLs using Bittensor's decentralized scraping network. Pay per use via blockchain for automated data collection.
Instructions
Web scraping and URL content extraction via Bittensor subnet 21. Cost: $0.01 per call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | URL to scrape, e.g. 'https://example.com' |
Implementation Reference
- src/index.ts:288-290 (handler)The handler for the 'bittensor_scrape' tool in the CallToolRequest handler switch statement. It calls the 'callGateway' function with the 'bittensor-scrape' route.
case "bittensor_scrape": result = await callGateway({ route: "bittensor-scrape", prompt: a.prompt }); break; - src/index.ts:171-184 (schema)The tool definition for 'bittensor_scrape' within the TOOLS array, including name, description, and input schema.
name: "bittensor_scrape", description: "Web scraping and URL content extraction via Bittensor subnet 21. Cost: $0.01 per call.", inputSchema: { type: "object", properties: { prompt: { type: "string", description: "URL to scrape, e.g. 'https://example.com'", }, }, required: ["prompt"], }, },