Table of Contents

Class WebTools

Namespace
JD.AI.Core.Tools
Assembly
JD.AI.Core.dll

Web tools — fetch URLs and convert HTML to readable text.

[ToolPlugin("web")]
public sealed class WebTools
Inheritance
WebTools
Inherited Members

Methods

WebFetchAsync(string, int)

[KernelFunction("web_fetch")]
[ToolSafetyTier(SafetyTier.AutoApprove)]
public static Task<string> WebFetchAsync(string url, int maxLength = 5000)

Parameters

url string
maxLength int

Returns

Task<string>