Skip to main content
Defined in: server/transform.ts:156 Expose registered resources as a list_resources tool.

Implements

Constructors

Constructor

new ResourcesAsTools(): ResourcesAsTools;

Returns

ResourcesAsTools

Methods

synthesizeTools()

synthesizeTools(resources): SynthesizedTool[];
Defined in: server/transform.ts:157 Synthesize additional tools derived from the current resource and prompt lists. Called at request time so the snapshot is always fresh.

Parameters

resources
ResourceView[]

Returns

SynthesizedTool[]

Implementation of

Transform.synthesizeTools