apex_add_hero_banner
Add a hero banner to an Oracle APEX page, including title, subtitle, CTA button, gradient background, and optional KPI stats.
Instructions
Add a hero banner with title, subtitle, CTA button, and gradient background.
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>",
"title": "<title>"
},
"name": "apex_add_hero_banner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Up to 4 inline KPI items shown inside the banner. Each dict: {"label": "Total", "sql": "SELECT COUNT(*) FROM T", "suffix": ""} | |
| title | Yes | Main banner title. Supports &APP_USER. substitutions. | |
| page_id | Yes | Target page ID. | |
| bg_color | No | Background color — named ("unimed","blue","teal") or hex ("#00995D"). | unimed |
| sequence | No | Display order on page. | |
| subtitle | No | Secondary text under the title. | |
| button_url | No | URL or f?p= reference for CTA button. | |
| custom_css | No | Additional CSS rules injected into the style block. | |
| title_size | No | CSS font-size for the title (default "1.7rem"). | 1.7rem |
| button_label | No | Optional CTA button label (e.g., "New Record"). | |
| subtitle_size | No | CSS font-size for the subtitle (default "1rem"). | 1rem |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |