Skip to content

API Reference parrot.outputs.cards.toggle

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.outputs.cards.toggle

View source

Toggle group and auto-collapse policy models.

Alias ACElement

Re-exported from parrot.outputs.cards.elements.ACElement.

Class AutoCollapsePolicy

Fields:

Field Type Default Description
enabled bool True
table_row_threshold int 15
text_char_threshold int 500
code_line_threshold int 10
image_count_threshold int 2

Class ToggleGroup

Fields:

Field Type Default Description
label_expanded str 'Hide details'
label_collapsed str 'Show details'
content list[ACElement]
initially_visible bool False
group_id str | None None

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally