Versions in this module Expand all Collapse all v0 v0.1.0 Sep 1, 2026 Changes in this version + func Any() agent.ResponseFormat + func ForType(rt reflect.Type) (agent.ResponseFormat, error) + func For[T any]() (agent.ResponseFormat, error) + func MustFor[T any]() agent.ResponseFormat + func New(name, description string, schema *jsonschema.Schema) agent.ResponseFormat + func Nothing() agent.ResponseFormat + type Format struct + func FromResponseFormat(format agent.ResponseFormat) (*Format, error) + func (f *Format) Marshal(v any) ([]byte, error) + func (f *Format) Normalize(v any) error + func (f *Format) Unmarshal(data []byte, v any) error