Skip to content

Support non-text tool results #1491

@natanfudge

Description

@natanfudge

Tool.Result.parts is defined as

override val parts: List<ContentPart.Text>

which means it's impossible to attach images and such to tool results. For example, it is impossible to implement a tool that reads an image with koog.

parts should be typed List<ContentPart> and pass multimedia correctly to the LLM APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions