apex_add_collapsible_region
Add a collapsible region to an Oracle APEX page to organize content. Specify page ID and region title; optionally set initial collapsed state, content HTML or SQL, and display order.
Instructions
Add a collapsible/expandable region with toggle.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"region_name": "<region_name>"
},
"name": "apex_add_collapsible_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Target page ID. | |
| sequence | No | Display order on page. | |
| collapsed | No | Start collapsed (default False = expanded). | |
| custom_css | No | ||
| content_sql | No | SQL returning VARCHAR2 content to show inside (optional, overrides content_html). Example: "SELECT DS_OBSERVACOES FROM T WHERE ID=1" | |
| region_name | Yes | Section title (shown in the clickable header). | |
| content_html | No | Static HTML content to show inside (optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |