Skip to content

[Gap]: Composite tools guide: output spec not documented #628

@danbarr

Description

@danbarr

Summary

The composite tools guide doesn't document the output section of composite tool definitions at all. The only way to discover that composite tools can define structured output mappings is to read the full CRD spec reference.

What's missing

The guide should cover:

  • The output block and its properties / required structure
  • How to map step results to output properties using value with template expressions
  • The difference between extracting scalar fields (fromJson + field access) vs passing through entire responses (raw .output.text as a string)
  • Typed output properties and their coercion behavior (e.g. type: integer can't handle null)
  • The default field on output properties
  • How defaultResults on conditional steps feeds into output references

Without this, users have to reverse-engineer the output spec from the CRD reference, which is a significant barrier — especially since the output mapping is where most of the fromJson and template expression complexity lives.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions