Generate Artifact tool

The Generate Artifact tool generates a structured artifact from a template.

Configuration

Create a tool with type “Generate Artifact”.

The tool supports the following template types:

  • CEL expansion: Define a CEL expression using Expressions and templates to generate a text, Markdown, or PDF artifact.

  • Jinja template: Define a Jinja template to generate a text, Markdown, or PDF artifact.

  • DOCX Jinja template: Use a managed folder containing a DOCX Jinja template to generate a DOCX or PDF artifact.

Use the additional description field to select and limit which template type and output format are available.

Usage

At runtime, the agent LLM decides how to call the tool (including template usage and output format, such as PDF).

When the tool is called, it produces an inline artifact that is streamed to the user.