Skip to content
1 min read · 68 words

Function: createScrapperLinksToolSync()

ts
function createScrapperLinksToolSync(config: ScrapperLinksConfigSync): Tool;

Defined in: batteries/tools/scrapper/index.ts:409

Synchronous createScrapperLinksToolartifact narrowed to the sync subset.

Parameters

ParameterTypeDescription
configScrapperLinksConfigSyncSame as createScrapperLinksTool, with a sync-only artifact.

Returns

Tool

A Tool ready to register in a ToolRegistry.

Throws

E_INVALID_SCRAPPER_CONFIG when instanceUrl or artifact is invalid (incl. an async resolver).