Home/Tools/@tpmjs/tools-page-brief

pageBriefTool

@tpmjs/tools-page-brief

Fetch a URL, extract main content, and return a brief with summary, key points, and claims needing citations

Official
research
v0.3.0
MIT
⚠️

This tool is currently broken

Import Failed
Cannot load from Railway service
Module not found "https://esm.sh/build/Release/canvas.node?target=denonext".
    at https://esm.sh/canvas@3.2.0?target=denonext:2:8

Last checked: 1/1/2026, 1:05:12 AM

Interactive Playground

Test @tpmjs/tools-page-brief (pageBriefTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-page-brief
pnpm add @tpmjs/tools-page-brief
yarn add @tpmjs/tools-page-brief
bun add @tpmjs/tools-page-brief
deno add npm:@tpmjs/tools-page-brief

2. Import the tool

import { pageBriefTool } from '@tpmjs/tools-page-brief';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { pageBriefTool } from '@tpmjs/tools-page-brief';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { pageBriefTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Parameters

Available configuration options

Author-provided
url
Required
Type: string

The URL to fetch and analyze

Schema extracted: 12/31/2025, 10:52:11 AM

Try to auto-extract schema from the package

README

ERROR: No README data found!

Statistics

Downloads/month

0

Quality Score

67%

Bundle Size

NPM Keywords

tpmjs
research
ai
readability
web-scraping

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai