module
ACP::Protocol::ToolCallContentHelper
Direct including types
Defined in:
acp/protocol/tool_call_content_helper.crInstance Method Summary
-
#typed_content : Array(ToolCallContent)
Attempts to parse
contentitems as typedToolCallContentvalues. -
#typed_locations : Array(ToolCallLocation)
Attempts to parse
locationsitems as typedToolCallLocationvalues.
Instance Method Detail
def typed_content : Array(ToolCallContent)
#
Attempts to parse content items as typed ToolCallContent values.
Entries that fail to deserialize are silently skipped.
def typed_locations : Array(ToolCallLocation)
#
Attempts to parse locations items as typed ToolCallLocation values.
Entries that fail to deserialize are silently skipped.