CapabilityRequest

@Serializable
data class CapabilityRequest(val type: String, val config: JsonObject? = null, val playbookId: String? = null)

A capability to run, with its per-capability configuration.

Constructors

Link copied to clipboard
constructor(type: String, config: JsonObject? = null, playbookId: String? = null)

Properties

Link copied to clipboard
val config: JsonObject? = null

Capability-specific configuration; shapes are per-capability.

Link copied to clipboard
@SerialName(value = "playbook_id")
val playbookId: String? = null

Optional playbook naming the stated intent this generation runs under — a goal, tone and mention rules the generated copy respects. Beside config rather than inside it because a playbook is not capability configuration: the same playbook steers whichever capability names it.

Link copied to clipboard

Capability id, e.g. catalog_recommendations.