strands.vended_tools.http_request.types
Shared types and constants for the http_request tool.
HttpMethod
Section titled “HttpMethod”HTTP methods supported by the tool.
HttpRequestOutput
Section titled “HttpRequestOutput”class HttpRequestOutput(TypedDict)Defined in: src/strands/vended_tools/http_request/types.py:9
Output of an HTTP request.
Attributes:
status- HTTP status code.status_text- HTTP status reason phrase.headers- Response headers as a plain dict (lower-cased keys).body- Response body as text.
DEFAULT_HTTP_REQUEST_DESCRIPTION
Section titled “DEFAULT_HTTP_REQUEST_DESCRIPTION”Description for the http_request tool shown to the model.