This commit is contained in:
seb
2026-10-06 03:30:31 +02:00
parent 0369b4e819
commit d5e58e76e1
15 changed files with 103 additions and 196 deletions

View File

@@ -63,9 +63,7 @@ async function serperScrape(url, apiKey, { signal } = {}) {
export function createUrlGetTool({ googleAuthId }) {
return defineTool({
name: 'url_get',
description:
'Fetch and scrape the contents of a web page using Serper Scrape. ' +
'Returns the raw scrape result as-is from Serper (text, markdown, metadata).',
description: 'Fetch and scrape web page content via Serper Scrape (text, markdown, metadata).',
strict: false,
parameters: {
type: 'object',
@@ -74,7 +72,7 @@ export function createUrlGetTool({ googleAuthId }) {
properties: {
url: {
type: 'string',
description: 'The URL or web address to fetch and scrape (e.g. "https://example.com" or "growheads.de").',
description: 'Target URL.',
},
},
},