http4k
Toggle table of contents
6.60.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-ai-anthropic
/
org.http4k.connect.anthropic.action
/
WebFetchContent
Web
Fetch
Content
@
JsonSerializable
@
Polymorphic
(
labelKey
=
"type"
)
sealed
class
WebFetchContent
(
source
)
Inheritors
Fetched
Failed
Members
Types
Failed
Link copied to clipboard
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"web_fetch_tool_result_error"
)
data
class
Failed
(
val
error_code
:
ErrorCode
)
:
WebFetchContent
Fetched
Link copied to clipboard
@
JsonSerializable
@
PolymorphicLabel
(
value
=
"web_fetch_result"
)
data
class
Fetched
(
val
url
:
Uri
,
val
retrieved_at
:
Instant
?
=
null
,
val
content
:
Content
?
=
null
)
:
WebFetchContent