OptionalmaxMaximum messages to keep in history
OptionalpersistWhether to persist conversations
OptionalworkingTimeout for 'working' status (max 120s per PR #78)
OptionaldefaultDefault max clarifications
Creative agent URL
OptionalprotocolProtocol to use (defaults to 'mcp')
OptionalauthAuthentication token if required
OptionaldebugEnable debug logging
OptionaluserCustom user agent string
OptionalheadersAdditional headers to include in requests
OptionalonActivity callback for observability (logging, UI updates, etc)
OptionalhandlersTask completion handlers - called for both sync responses and webhook completions
OptionalwebhookWebhook secret for signature verification (recommended for production)
OptionalwebhookWebhook URL template with macro substitution
Available macros:
OptionalreportingReporting webhook frequency
OptionalvalidationRuntime schema validation options
OptionalstrictSchemaValidation?: booleanFail tasks when response schema validation fails (default: true)
When true: Invalid responses cause task to fail with error When false: Schema violations are logged but task continues
OptionallogSchemaViolations?: booleanLog all schema validation violations to debug logs (default: true)
Configuration for CreativeAgentClient