Skip to content

Web & Information

Access the internet, retrieve live data, and perform general utility calculations.

Web Access

HTTP Request

Typenetwork.http_request
DescriptionMakes a network request (GET, POST, PUT, DELETE) to an external URL.
InputsURL (String), Method (GET/POST/PUT/DELETE), Headers (JSON String, Optional), Body (String, Optional)
OutputsResponse Body (String), Status Code (Number)

Examples

  • http_request(url="https://api.github.com/users/octocat", method="GET")
  • http_request(url="https://api.example.com/data", method="POST", body="{\"key\": \"value\"}")
Typeweb.search
DescriptionPerforms a Google or DuckDuckGo search and returns results.
InputsQuery (String)
OutputsResults (Array<String>), Snippets (Array<String>)

Examples

  • web_search(query="latest swiftui changes")

Get Web Page

Typeweb.get_page
DescriptionFetches the full HTML content of a webpage.
InputsURL (String)
OutputsHTML (String), Text Content (String)

Examples

  • get_web_page(url="https://apple.com")

General Info

Get Weather

Typegeneral.weather
DescriptionGets current weather for a location.
InputsLocation (String, Optional - defaults to current)
OutputsTemperature (String), Condition (String)

Examples

  • get_weather(location="San Francisco")

Get Date & Time

Typegeneral.time
DescriptionReturns the current date and time in various formats.
InputsFormat (String, Optional)
OutputsDate String (String), Timestamp (Number)

Examples

  • get_time(format="yyyy-MM-dd HH:mm:ss")

Calculate

Typegeneral.calculate
DescriptionEvaluates a mathematical expression string.
InputsExpression (String)
OutputsResult (Number)

Examples

  • calculate(expression="5 * (10 + 2)")