mirascope.tools.web._requests¶
RequestsConfig
¶
Bases: _ConfigurableToolConfig
Configuration for HTTP requests
Requests
¶
Bases: ConfigurableTool
Tool for making HTTP requests with built-in requests library.
call
¶
call() -> str
Make an HTTP request to the given URL.
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
Response text content if successful, error message if request fails |