apollo-code / tools/src / WebFetchTool
Class: WebFetchTool
Implements
Constructors
Constructor
new WebFetchTool(
options?):WebFetchTool
Parameters
options?
WebFetchOptions = {}
Returns
WebFetchTool
Properties
description
readonlydescription:"Fetch public HTTP(S) text after domain permission and SSRF checks"='Fetch public HTTP(S) text after domain permission and SSRF checks'
Implementation of
inputSchema
readonlyinputSchema:never=schema
Implementation of
name
readonlyname:"WebFetch"='WebFetch'
Implementation of
parallelSafe
readonlyparallelSafe:true=true
Implementation of
readonly
readonlyreadonly:true=true
Implementation of
timeoutMs
readonlytimeoutMs:number
Implementation of
Methods
invoke()
invoke(
input,context):Promise<ToolResult>
Parameters
input
context
Returns
Promise<ToolResult>
Implementation of
permissionSpec()
permissionSpec(
input):object
Parameters
input
Returns
object
net
net:
object
net.method
method:
"GET"
net.url
url:
string