Skip to content

[FEATURE] Implement Create Artifact tool #109

@edenreich

Description

@edenreich

Summary

Currently there is a tool in the default tool box for input_required. Ideally each A2A server would need also to be able to write to the file system any output it saves in memory.

There are a bunch of essential tools needs and would be good to have them configurable via environment variables. Let's start by implementing the Write tool which is pretty essential.

Acceptance Criteria

  • There is an additional tool called CreateArtifact(content="", type="url")
  • When the LLM choose to use the content that will be passed to this tool will be saved to the filesystem
  • It's enabled via environment variables (default=false)
  • The artifact helper is used for this tool, allowing consumers of this library to create artifacts programmatically (already possible) as well as letting the LLM the option to create artifacts autonomously
  • This tool only supports creating artifacts as uploaded and referenced url, to be extended to support also embedded
  • It's documented
  • It's tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions