Skip to content

strands.vended_tools.http_request.types

Shared types and constants for the http_request tool.

HTTP methods supported by the tool.

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.

Description for the http_request tool shown to the model.