haops_get_protocol_spawn_lines
Retrieve spawn lines for all configured roles or a specific role to get boot-ritual strings for agent sessions in composed protocols.
Instructions
Returns the per-role spawn-line text (GET /api/projects/[slug]/protocol/spawn-lines). Spawn lines are short boot-ritual strings injected at agent session start when composed protocols are active. Omit role to get spawn lines for ALL configured roles; pass a specific role to narrow to one.
Read-only. Requires ENABLE_COMPOSED_PROTOCOLS=true. Returns 404 when the feature flag is off (the route looks absent by design) — surface this as "Composed protocols feature is disabled" to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw JSON envelope verbatim (default: false). | |
| role | No | Optional. If specified, returns spawn lines only for this role. Omit to get all roles. | |
| projectSlug | Yes | URL slug of the target project. |