web_navigation

TBD

TOOLWEB_REQUEST

Web Request

Parameters for the web request. BROWSER and BASIC are designed to process html content, while RAW is designed to process json and other non-html content.

Required attributes

  • Name
    url
    Type
    string
    Description

    Url to perform the request and return the html as markdown.

    5 length 1000

Optional attributes

  • Name
    request_type
    Type
    string
    Description

    Type of request to perform. Leave empty for BROWSER default. Other options include BASIC for a basic request, CONTENT for fetching just the content, and RAW for api calls and other non-html content.

    length 15

    BROWSER
    
  • Name
    timeout
    Type
    integer
    Description

    How long to wait for results before timing out. Default is 60 seconds, but can be increased if we are willing to wait longer in exchange for a better success ratio.

    60
    

Function Call

TOOL
WEB_REQUEST
#### WEB_REQUEST
```json
{
  "url": "https://example.com/"
}
```

Response

#### Success


TEXTLAST_URLConversation

Last Url

Stores the last visited url.

Conversation Variable

TEXT
{LAST_URL}
https://example.com/


TEXTLAST_WEB_RESPONSEConversation

Last Web Response

Stores the last web response as markdown.

Conversation Variable

TEXT
{LAST_WEB_RESPONSE}
# Welcome to example.com

 ... markdown page ...

Was this page helpful?