The agent (or agency) instance to export.
Optional metadata: { Optional human-readable metadata to attach.
Optional name?: stringOptional description?: stringOptional author?: stringOptional tags?: string[]Optional options: ExportAgentConfigOptionsRedaction options.
JSON string with 2-space indentation.
Exports an agent's configuration as pretty-printed JSON. Class instances are always written as
<<instance>>markers, since they cannot be serialized.